[retro-gtk/wip/aplazas/gl-display] Test



commit 665035c65f0088996c8846e86898b3724c66035e
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri Nov 17 15:35:32 2017 +0100

    Test

 retro-gtk/retro-gl-display.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/retro-gtk/retro-gl-display.c b/retro-gtk/retro-gl-display.c
index b370c9a..8063d2f 100644
--- a/retro-gtk/retro-gl-display.c
+++ b/retro-gtk/retro-gl-display.c
@@ -104,6 +104,7 @@ retro_gl_display_on_tick (GtkWidget      *sender,
                           GdkFrameClock  *frame_clock,
                           RetroGLDisplay *self)
 {
+  gtk_gl_area_queue_render (self);
   gtk_widget_queue_draw (GTK_WIDGET (self));
 
   return G_SOURCE_CONTINUE;
@@ -269,7 +270,7 @@ retro_gl_display_unrealize (GtkWidget *widget)
 
 static gboolean
 retro_gl_display_render (GtkGLArea    *glarea,
-                        GdkGLContext *context)
+                         GdkGLContext *context)
 {
   RetroGLDisplay *self = (RetroGLDisplay *) glarea;
   RetroVideoFilter filter;


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