]> git.cworth.org Git - apitrace/blobdiff - retrace/glws_wgl.cpp
Don't show pbuffers in windows.
[apitrace] / retrace / glws_wgl.cpp
index c6e4a3fb39b1935e3c29a2a806fdcf007250f211..b4fd922fc1412f0180b0d611ee8d00f3f13cb408 100644 (file)
@@ -100,8 +100,8 @@ public:
     PIXELFORMATDESCRIPTOR pfd;
     int iPixelFormat;
 
-    WglDrawable(const Visual *vis, int width, int height) :
-        Drawable(vis, width, height)
+    WglDrawable(const Visual *vis, int width, int height, bool pbuffer) :
+        Drawable(vis, width, height, pbuffer)
     {
         static bool first = TRUE;
         RECT rect;
@@ -287,9 +287,9 @@ createVisual(bool doubleBuffer, Profile profile) {
 }
 
 Drawable *
-createDrawable(const Visual *visual, int width, int height)
+createDrawable(const Visual *visual, int width, int height, bool pbuffer)
 {
-    return new WglDrawable(visual, width, height);
+    return new WglDrawable(visual, width, height, pbuffer);
 }
 
 Context *