Fullscreen problem
i found a lot of OpenGL tutorials and books. They taught me a lot. But the only thing they didn''t teach me is how to write fullscreen OpenGL application. Somebody told me just create a window cover everything at screen and then set it always on top. but i don''t think this is a good way, so any ideas?
nehe.gamedev.net
go there before i throw rocks at you!!
-eldee
;another space monkey;
[ Forced Evolution Studios ]
go there before i throw rocks at you!!
-eldee
;another space monkey;
[ Forced Evolution Studios ]
thanks eldee, i finally know how to use fullscreen with OpenGL. so the key API is ChangeDisplaySettings(..), rite?
ChangeDisplaySetting() is not an API it is a function that is a part of an API, the Win32 APi. But, you are right. There is also EnumDisplaySettings() which is important as well.
Don''t use glut - glut sucks.
You''ll learn far more using the Win32 API. It really isn''t very hard at all. All glut does is hide what you''re program is actually doing.
You''ll learn far more using the Win32 API. It really isn''t very hard at all. All glut does is hide what you''re program is actually doing.
a simple flow:
set yr window to be top of all windows and make its size to be the same as the screen.and what u display on the dc will display as fullscreen.
jerry2
Programming,make a whole new world.
set yr window to be top of all windows and make its size to be the same as the screen.and what u display on the dc will display as fullscreen.
jerry2
Programming,make a whole new world.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement