]> git.tdb.fi Git - libs/gui.git/blobdiff - source/gbase/glcontext.cpp
Implement video mode changing and fullscreen on win32
[libs/gui.git] / source / gbase / glcontext.cpp
index a749c6ce8f3966dbfc7514180a25a76603e29724..c002a39dd0c3c41d43ddec5670969cc599f47f7e 100644 (file)
@@ -16,9 +16,6 @@ Distributed under the LGPL
 #include "glcontext.h"
 #include "window.h"
 
-#include <iostream>
-using namespace std;
-
 namespace Msp {
 namespace Graphics {
 
@@ -107,9 +104,9 @@ GLContext::GLContext(Window &wnd, const GLOptions &opts):
        XFree(vi);
 
        glXMakeCurrent(dpy, subwnd, context);
+#endif
 
        window.signal_resize.connect(sigc::mem_fun(this, &GLContext::window_resized));
-#endif
 }
 
 GLContext::~GLContext()