Silence warning.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 12 Apr 2011 20:01:33 +0000 (21:01 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 12 Apr 2011 20:01:33 +0000 (21:01 +0100)
glws_glx.cpp

index 7d286a5..67a8829 100644 (file)
@@ -196,7 +196,7 @@ public:
     makeCurrent(Drawable *drawable, Context *context)
     {
         if (!drawable || !context) {
-            return glXMakeCurrent(display, NULL, NULL);
+            return glXMakeCurrent(display, None, NULL);
         } else {
             GlxDrawable *glxDrawable = dynamic_cast<GlxDrawable *>(drawable);
             GlxContext *glxContext = dynamic_cast<GlxContext *>(context);