Advertisement

Fullscreen

Started by October 18, 2000 09:33 PM
5 comments, last by rdragon 24 years, 1 month ago
I downloaded the first program from NeHe and it will run in a window but not fullscreen can you help me?
--------OUT--------
It may be your video card/drivers. Before I had a 3D accelerator, NeHe programs wouldn''t run fullscreen.
Advertisement
In the tutorial NeHe calls the ChangeDisplaySetting() function. I was wondering if that is a must, or if we could just use the WS_POPUP in the windows style parameter of the CreateWindow() function. Any ideas? Thanks!
Just switch from 32bit Resolution to 16bit Res.
This works fine with my card.
Anon- Try it and let us know, you won''t break anything, you may have to reboot though if it freezes (worst case scenario)...

S.
Calling ChangeDisplaySettings should only be neccissary if you want to change resolution/bit depth. If you don''t call it then the fullscreen mode will be whatever your desktop settings are! If your desktop is at 1024x768x16 then your fullscreen mode would be 1024x768x16. In the nehe tutorials this would effectivly make the width, height, and bits parameters of the call to CreateGLWindow useless in fullscreen mode!
To answer your question. It''s not essential! Just usefull!
------------------------------Piggies, I need more piggies![pig][pig][pig][pig][pig][pig]------------------------------Do not invoke the wrath of the Irken elite. [flaming]
Advertisement
Try using the glut function glutFullScreen() instead of the win32 stuff--I aint never tried it so i don't know if it will work. After all you are porting console to gui.

Edited by - oglman on October 21, 2000 1:25:07 PM

This topic is closed to new replies.

Advertisement