
ChangeDisplaySettings or DDRAW.
I''m very sorry I''m not good in English.
I''m using ATI Radeon (Dual Monitor) on Windows XP.
== Full screen ==
I have troubles for OpenGL applications/games when
I press ''Windows key'' or ''ALT-TAB(task switching)'' at that.
They don''t change their resolution back at the situation
on my PC.
If I want to get no problem at the situation, I should
use DDRAW->SetDisplayMode for OpenGL application.
Is there any other solution for that?
If I have to use DDRAW->SetDisplayMode(), what method I should use?
like this:
1. DDRAW''s BackBuffer(VIDEO) -> GetDC ?
DDRAW''s Primary(VIDEO) -> GetDC ?
CreateWindow -> GetDC ?
2. Use SwapBuffer(Double Buffer) or glFlush()?
What''s the best method for performance?
Many thanks in advance.

performance?
use sdl + all these little worries will go away
http://uk.geocities.com/sloppyturds/gotterdammerung.html
use sdl + all these little worries will go away

http://uk.geocities.com/sloppyturds/gotterdammerung.html
SDL also hasthe same problem on my PC, too.
( Windows Position moved + ALT-TAB problem )
( Windows Position moved + ALT-TAB problem )
im not undersstanding this line >>They don''t change their resolution back at the situation
on my PC.<<
descrbe what happens + what u want to happen
http://uk.geocities.com/sloppyturds/gotterdammerung.html
on my PC.<<
descrbe what happens + what u want to happen
http://uk.geocities.com/sloppyturds/gotterdammerung.html
I assume you''re saying that when switching from a fullscreen app back to the desktop, the screen resolution does not revert back to the original desktop res/colour depth etc.
If this is the case, then in your message loop check for WM_ACTIVATE - and switch between game res and desktop res.
If this is the case, then in your message loop check for WM_ACTIVATE - and switch between game res and desktop res.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement