eglglessink: Clear surface to black by default

This commit is contained in:
Reynaldo H. Verdejo Pinochet 2012-09-19 19:26:54 -03:00 committed by Sebastian Dröge
parent 19739bfb74
commit 19c3b4d892

View file

@ -1532,7 +1532,7 @@ gst_eglglessink_render_and_display (GstEglGlesSink * eglglessink,
goto HANDLE_ERROR;
}
glClearColor (1.0, 0.0, 0.0, 0.0);
glClearColor (0.0, 0.0, 0.0, 0.0);
glClear (GL_COLOR_BUFFER_BIT);
glDrawElements (GL_TRIANGLE_STRIP, 4, GL_UNSIGNED_SHORT, 0);
if (got_gl_error ("glDrawElements"))