]> git.cworth.org Git - apitrace/commitdiff
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 7d286a526f8cb7dd96625c9319fbded9e0b07391..67a88290b7988804bb0f3c4c16c30fc083d6451a 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);