vlc | branch: master | Martin Storsjö <[email protected]> | Mon Mar 18 10:30:41 2013 +0200| [7ad605f9a403eac6908e41abdd81b63972761d22] | committer: Martin Storsjö
opengl: Set the color to full alpha in the non-shader draw path The color is set when drawing subpictures, but wasn't set when drawing the main texture. For some reason, the current color was reset between each display call in some environments, making this issue not to be visible. Signed-off-by: Martin Storsjö <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7ad605f9a403eac6908e41abdd81b63972761d22 --- modules/video_output/opengl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c index 2dc1e9c..ea514e8 100644 --- a/modules/video_output/opengl.c +++ b/modules/video_output/opengl.c @@ -851,6 +851,7 @@ static void DrawWithoutShaders(vout_display_opengl_t *vgl, right[0], top[0] }; + glColor4f(1.0f, 1.0f, 1.0f, 1.0f); glEnable(vgl->tex_target); glActiveTexture(GL_TEXTURE0 + 0); glClientActiveTexture(GL_TEXTURE0 + 0); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
