PDA

View Full Version : DEVMODE::dmBitsPerPel



ARES
09-27-2002, 09:07 AM
should DEVMODE::dmBitsPerPel be set the the number of color bits or the number of depth bits or color bits+depth bits

DEVMODE is used in ChangeDisplaySettings

mattc
09-27-2002, 09:11 AM
devmode is not related to opengl in any way, it's a win32 struct, so it'll be colour bit depth (one of 8, 16, 24, 32). pixelformatdescriptor is the struct you need to specify opengl colour/z/stencil bit depths...