Sign in to follow this  
Followers 0
Negative_Se7en

Display Mode Enumeration

2 posts in this topic

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 .
0

Share this post


Link to post
Share on other sites

 

 

Check out EnumDisplaySettings

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

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0