From 62f52b9622468025e5ef5ddc8a5cec7bd8ebaccd Mon Sep 17 00:00:00 2001 From: bgk Date: Fri, 25 Apr 2008 09:52:59 +0000 Subject: [PATCH] Small cleanup --- src/gtk/screenarea-opengl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gtk/screenarea-opengl.cpp b/src/gtk/screenarea-opengl.cpp index 3d6253b7..b2b4bd2b 100644 --- a/src/gtk/screenarea-opengl.cpp +++ b/src/gtk/screenarea-opengl.cpp @@ -36,7 +36,6 @@ ScreenAreaGl::ScreenAreaGl(int _iWidth, int _iHeight, int _iScale) : Glib::RefPtr glconfig; glconfig = Gdk::GL::Config::create(Gdk::GL::MODE_RGB | - // Gdk::GL::MODE_DEPTH | Gdk::GL::MODE_DOUBLE); if (!glconfig) { @@ -173,6 +172,8 @@ bool ScreenAreaGl::on_expose_event(GdkEventExpose * _pstEvent) glwindow->swap_buffers(); glwindow->gl_end(); + + return true; } } // namespace VBA