Commit 58f36da5 authored by Damien Fouilleul's avatar Damien Fouilleul

- opengl.c: some cleanup on the effects

parent 96121bed
...@@ -224,7 +224,10 @@ struct vout_sys_t ...@@ -224,7 +224,10 @@ struct vout_sys_t
int i_effect; int i_effect;
float f_speed; float f_speed;
#ifdef OPENGL_MORE_EFFECT
// cylinder radius
float f_radius; float f_radius;
#endif
}; };
/***************************************************************************** /*****************************************************************************
...@@ -290,7 +293,9 @@ static int CreateVout( vlc_object_t *p_this ) ...@@ -290,7 +293,9 @@ static int CreateVout( vlc_object_t *p_this )
} }
p_sys->f_speed = var_CreateGetFloat( p_vout, "opengl-cube-speed" ); p_sys->f_speed = var_CreateGetFloat( p_vout, "opengl-cube-speed" );
#ifdef OPENGL_MORE_EFFECT
p_sys->f_radius = var_CreateGetFloat( p_vout, "opengl-cylinder-radius" ); p_sys->f_radius = var_CreateGetFloat( p_vout, "opengl-cylinder-radius" );
#endif
p_vout->pf_init = Init; p_vout->pf_init = Init;
p_vout->pf_end = End; p_vout->pf_end = End;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment