PDA

View Full Version : wglChoosePixelFormatARB failure



02-12-2004, 12:18 PM
I am calling wglChoosePixelFormat with the following attributes:

WGL_RED_BITS_ARB, 32,
WGL_GREEN_BITS_ARB, 32,
WGL_BLUE_BITS_ARB, 32,
WGL_ALPHA_BITS_ARB, 32,
WGL_DRAW_TO_PBUFFER_ARB, GL_TRUE,
WGL_FLOAT_COMPONENTS_NV, GL_TRUE,
WGL_ACCELERATION_ARB,GL_FULL_ACCELERATION_ARB
WGL_DEPTH_BITS_ARB, 32,
WGL_STENCIL_BITS_ARB, 32,
WGL_DOUBLE_BUFFER_ARB, GL_FALSE,
WGL_SUPPORT_OPENGL_ARB, GL_TRUE

The call fails... any idea what might be going wrong and/or how do I investigate it further? I've got an ATI 9800 and my colors are set to 32-bit. Thanks for any help.

roffe
02-12-2004, 12:41 PM
WGL_FLOAT_COMPONENTS_NV

NVIDIA extensions are usually not supported on ATI cards.