WGL: No double buffering + multi sampling = FAIL?
I usually create a pixel format using wglChoosePixelFormatARB() with these arguments (among others): WGL_DOUBLE_BUFFER_ARB = GL_TRUE WGL_SAMPLE_BUFFERS_ARB = GL_TRUE WGL_SAMPLES_ARB = 4 i.e. double buffering on and x4 multisampling. This works just fine. But when I try to turn of the double buffering: WGL_DOUBLE_BUFFER_ARB = GL_FALSE WGL_SAMPLE_BUFFERS_ARB = GL_TRUE WGL_SAMPLES_ARB = 4 The call to wglChoosePixelFormatARB() fails (or rather indicates it didn't create anything) When I effectively turn multisampling off: WGL_DOUBLE_BUFFER_ARB = GL_FALSE WGL_SAMPLE_BUFFERS_ARB = GL_TRUE WGL