PDA

View Full Version : Is there an API can get front buffer's pxiels format?



season
08-31-2012, 02:17 AM
Hi,all:
I'm a beginner.
I want to get front buffer's pxiels format and type,what's API should I choose?
thanks

V-man
08-31-2012, 04:29 AM
Not in OpenGL. For Windows, the function is EnumDisplaySettings.
EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, lpDevMode);