Display Mode Enumeration

Started by
1 comment, last by Negative_Se7en 10 years, 9 months ago

hi . i wanna enumerate display modes but i'm confused with using functions.

when i call EnumDisplayDevices() , it says that there are 204 modes.
when i call DescribePixelFormat() , it says that there are 125 modes.
when i call wglGetPixelFormatAttribivARB , it says that there are 433 modes.
and their result's BitsPerPixel are not the same !
which should i use for making a context in full screen mode ?
tnx .
Advertisement

Check out EnumDisplaySettings

Check out EnumDisplaySettings

yes , you're right . and i found out that DescribePixelFormat() returns number of support pixel formats not support display modes.

This topic is closed to new replies.

Advertisement