From 8da0fd6f6d61ad058fdfd3936dd8193ba4183f6e Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 17 Oct 2012 21:35:40 +0200 Subject: [PATCH] Drop another call to glClearColor. --- gfx/context/drm_egl_ctx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gfx/context/drm_egl_ctx.c b/gfx/context/drm_egl_ctx.c index 806bbf421f..3d7f27f0ba 100644 --- a/gfx/context/drm_egl_ctx.c +++ b/gfx/context/drm_egl_ctx.c @@ -485,7 +485,6 @@ static bool gfx_ctx_set_video_mode( if (!eglMakeCurrent(g_egl_dpy, g_egl_surf, g_egl_surf, g_egl_ctx)) goto error; - glClearColor(0.0, 0.0, 0.0, 1.0); glClear(GL_COLOR_BUFFER_BIT); eglSwapBuffers(g_egl_dpy, g_egl_surf);