Using ChangeDisplaySettings in Glut does work but are there any issues with this that I need to be aware of? It works on my machine (Win98 RivaTNT), would this work in Windows NT, or are there any compatability problems between Glut and Win32 API?
Don’t know for sure (I think it should work on all Win32 platforms) but these portability questions are mostly well answered in the online help of my MSDN copy.
BTW: WinNT and Win98 have multi-screen support, I think. But the ChangeDisplaySettings code should work as well, at least it does for me.
Oh and why does EnumDisplaySettings sometimes return more or less valid graphic modes?