Archived

This topic is now archived and is closed to further replies.

DescibepixelFormat...

This topic is 5016 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When i do int maxpf = DescribePixelFormat(hdc, 1, sizeof(PIXELFORMATDESCRIPTOR), &pfd); it returns 99 as the max. Although if i check pixel formats using a program like glview, its says there are ~222. Now provided that glview isnt simply listing all possible pixel format combinations that exsist, and it is in fact listing all the pixel formats I support. Where are they getting the data for the extra 100 or so? Do you have to use some wgl function to get these?

Share this post


Link to post
Share on other sites
correct.. the DescribePixelformat can only list visible and software contexts, not the newer floaingpoint buffers and p-buffer compatible formats. WglDescribePixelFormat should be your choice then.

i thing the extension is called WGL_PIXEL_FORMAT_ARB or similar.

Share this post


Link to post
Share on other sites