oops debug stuff (square in the middle) removed

This commit is contained in:
damdoum 2007-02-11 16:26:30 +00:00
parent 39da0c1701
commit 8119e076f3
1 changed files with 3 additions and 2 deletions

View File

@ -156,6 +156,8 @@ gboolean screen (GtkWidget * widget, int viewportscreen) {
glLoadIdentity(); glLoadIdentity();
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ); glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
my_gl_DrawBeautifulQuad();
if (desmume_running()) { if (desmume_running()) {
// rotate // rotate
glRotatef(ScreenRotate, 0.0, 0.0, 1.0); glRotatef(ScreenRotate, 0.0, 0.0, 1.0);
@ -165,10 +167,9 @@ gboolean screen (GtkWidget * widget, int viewportscreen) {
my_gl_ScreenTexApply(screen); my_gl_ScreenTexApply(screen);
} }
my_gl_DrawBeautifulQuad();
my_gl_End(viewportscreen); my_gl_End(viewportscreen);
return TRUE; return TRUE;
} }
#endif /* if HAVE_LIBGDKGLEXT_X11_1_0 */ #endif /* if HAVE_LIBGDKGLEXT_X11_1_0 */