Advertisement

ChangeDisplaySettings or DDRAW.

Started by May 11, 2002 10:52 AM
3 comments, last by Firia 22 years, 9 months ago
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
Advertisement
SDL also hasthe same problem on my PC, too.
( 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
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.

This topic is closed to new replies.

Advertisement