OK, I used the simple code from the Nehe-examples for screen mode selection so far (running in a loop until correct mode for width, height, bpp has been found), that worked so far.
Now today I programmed an DisplayModeRequester, so the user can choose the DisplayMode. What was odd that there were multiple modes for each resolution/bpp/frequency, they had different depth/alpha/stencil.
Now I selected a few of them and every mode with alpha>0 made my program crash immediately (“error in native code outside vm”). So I’m thinking about filtering all these modes out and only offer the user modes with alpha and stencil zero.
Will that give me any problems? What is a mode with alpha>0 good for anyway (I’m using alpha already for masking and it works in a mode with alpha=0). Why are there modes with different depths for same bpp?
Someone enlighten me …
I’m using a Geforce2/WinXp, if that makes a difference.
