X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=glws_wgl.cpp;h=3ac2a6d0b3905095e828b7d8dd2cf3c52c1e9c25;hb=52eaaa2f3749692d587a41145da900f9014e9002;hp=7e5807146375646500b723ce8f4ac819a2057519;hpb=ce6bcdd4395c9efec37a26f6c1caf8944d75f6d0;p=apitrace diff --git a/glws_wgl.cpp b/glws_wgl.cpp index 7e58071..3ac2a6d 100644 --- a/glws_wgl.cpp +++ b/glws_wgl.cpp @@ -90,6 +90,8 @@ public: pfd.cRedBits = 1; pfd.cGreenBits = 1; pfd.cBlueBits = 1; + pfd.cDepthBits = 1; + pfd.cStencilBits = 1; pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL; pfd.iLayerType = PFD_MAIN_PLANE; pfd.iPixelType = PFD_TYPE_RGBA;