PDA

View Full Version : SetPixelFormat with WGL_ARB_pixel_format



Acheum
04-28-2003, 12:25 AM
Hello !

I want to use a pixelformat with WGL_ARB_pixel_format. I made a call to wglChoosePixelFormatARB, but after what is the function to use to set the pixel format to the device context ? I guess the classic SetPixelFormat doesn't work, and I didn't see anywhere an extended version of this function...
What can I do ?

errno
04-28-2003, 04:33 AM
you should look at this: http://oss.sgi.com/projects/ogl-sample/registry/ARB/wgl_pixel_format.txt

it's the specs of the WGL_ARB_pixel_format extension.

acheum ... ca me rappelle qqn, tu n'as pas eu des probleme de buffer d'accumulation ???

Acheum
04-28-2003, 04:36 AM
Tiens, yoyo!
Si si, et là je suis en train de me prendre la tête pour créer un contexte avec 32 bits par conposante de couleur (extension ATI)