Commit 426d0fbd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix a warning

parent 44076392
......@@ -425,7 +425,8 @@ int vout_display_opengl_Display(vout_display_opengl_t *vgl,
#if VLCGL_TARGET == GL_TEXTURE_2D
const float f_normw = vgl->tex_width;
const float f_normh = vgl->tex_height;
#elif VLCGL_TARGET == GL_TEXTURE_RECTANGLE_EXT
#elif defined (GL_TEXTURE_RECTABLE_EXT) \
&& (VLCGL_TARGET == GL_TEXTURE_RECTANGLE_EXT)
const float f_normw = 1.0;
const float f_normh = 1.0;
#else
......
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