From 8119e076f347fab332dfd7b90e82920f4145ac6f Mon Sep 17 00:00:00 2001 From: damdoum Date: Sun, 11 Feb 2007 16:26:30 +0000 Subject: [PATCH] oops debug stuff (square in the middle) removed --- desmume/src/gtk-glade/gdk_gl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/desmume/src/gtk-glade/gdk_gl.c b/desmume/src/gtk-glade/gdk_gl.c index db0f0aa0a..fe07a49a7 100755 --- a/desmume/src/gtk-glade/gdk_gl.c +++ b/desmume/src/gtk-glade/gdk_gl.c @@ -156,6 +156,8 @@ gboolean screen (GtkWidget * widget, int viewportscreen) { glLoadIdentity(); glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ); + my_gl_DrawBeautifulQuad(); + if (desmume_running()) { // rotate glRotatef(ScreenRotate, 0.0, 0.0, 1.0); @@ -165,10 +167,9 @@ gboolean screen (GtkWidget * widget, int viewportscreen) { my_gl_ScreenTexApply(screen); } - my_gl_DrawBeautifulQuad(); - my_gl_End(viewportscreen); return TRUE; } #endif /* if HAVE_LIBGDKGLEXT_X11_1_0 */ +