Jump to content

Image of the Day

#animation 2/14

Sweet piggy, isn't it?

#gamedev #indiedev #indiegame #GamersUnite #screenshotsaturday #unity3d https://t.co/lscyvCxrPR
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

Display Mode Enumeration

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 Negative_Se7en   Members   

103
Like
0Likes
Like

Posted 01 July 2013 - 01:02 PM

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 .


#2 deftware   Prime Members   

1767
Like
1Likes
Like

Posted 01 July 2013 - 04:08 PM

Check out EnumDisplaySettings



#3 Negative_Se7en   Members   

103
Like
0Likes
Like

Posted 02 July 2013 - 01:07 AM

 

 

Check out EnumDisplaySettings

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






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.