Changeset 8728e7f2de59f4bd740ed0abe6e09a7c8fede9ec

Show
Ignore:
Timestamp:
01/28/08 18:12:18 (7 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1201540338 +0000
git-parent:

[3b24180294c2cc3bdc15c2d2e9ad6693951fffca]

git-author:
Rafaël Carré <funman@videolan.org> 1201540338 +0000
Message:

video_output/opengl.c:

Transform(): remove unused parameter
avoids useless unused parameter warnings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/video_output/opengl.c

    r99fab90 r8728e7f  
    146146#ifdef OPENGL_MORE_EFFECT 
    147147static float Z_Compute   ( float, int, float, float ); 
    148 static void Transform    ( float, int, float, float, int, int, int, int, double *, double * ); 
     148static void Transform    ( int, float, float, int, int, int, int, double *, double * ); 
    149149 
    150150/***************************************************************************** 
     
    700700static void Render( vout_thread_t *p_vout, picture_t *p_pic ) 
    701701{ 
     702    VLC_UNUSED(p_pic); 
    702703    vout_sys_t *p_sys = p_vout->p_sys; 
    703704 
     
    764765 *   Transform: Calculate the distorted grid coordinates 
    765766 *****************************************************************************/ 
    766 static void Transform(float p, int distortion, float width, float height,int i, int j, int i_visible_width, int i_visible_height, double *ix,double *iy
     767static void Transform( int distortion, float width, float height,int i, int j, int i_visible_width, int i_visible_height, double *ix, double *iy
    767768{ 
    768769    double x,y,xnew,ynew; 
     
    873874static void DisplayVideo( vout_thread_t *p_vout, picture_t *p_pic ) 
    874875{ 
     876    VLC_UNUSED(p_pic); 
    875877    vout_sys_t *p_sys = p_vout->p_sys; 
    876878    float f_width, f_height, f_x, f_y; 
     
    955957                int i_l = ((i_m % 4) == 2) || ((i_m % 4) == 3); 
    956958 
    957                 Transform(f_p, i_distortion, f_width, f_height, i_i + i_k * i_n_x, i_j + i_l * i_n_y, p_vout->fmt_out.i_visible_width, p_vout->fmt_out.i_visible_height, &d_x, &d_y); 
     959                Transform( i_distortion, f_width, f_height, i_i + i_k * i_n_x, i_j + i_l * i_n_y, p_vout->fmt_out.i_visible_width, p_vout->fmt_out.i_visible_height, &d_x, &d_y); 
    958960                glTexCoord2f(f_x + d_x, f_y + d_y); 
    959961                d_x =  - 1.0 + 2.0 * ((double)(i_k * i_n_x + i_i) / (double)p_vout->fmt_out.i_visible_width); 
     
    11071109                       vlc_value_t oldval, vlc_value_t newval, void *_p_vout ) 
    11081110{ 
     1111    VLC_UNUSED(p_this); VLC_UNUSED(oldval); 
    11091112    return var_Set( (vlc_object_t *)_p_vout, psz_var, newval ); 
    11101113}