[retro-gtk] gl-display: Explicitly use glClearColor()



commit 3e9699a81e2392bd1f220074cf169a7875622399
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Thu Jul 26 14:14:29 2018 +0500

    gl-display: Explicitly use glClearColor()

 retro-gtk/retro-gl-display.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/retro-gtk/retro-gl-display.c b/retro-gtk/retro-gl-display.c
index 68c40ac..b00fa5c 100644
--- a/retro-gtk/retro-gl-display.c
+++ b/retro-gtk/retro-gl-display.c
@@ -292,6 +292,8 @@ retro_gl_display_realize (RetroGLDisplay *self)
 
   if (self->glsl_filter[filter] != NULL)
     retro_glsl_filter_use_program (self->glsl_filter[filter]);
+
+  glClearColor (0, 0, 0, 1);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]