Display modificatinos in Windows?
Haya all!
I have a simple question.Me and my budy are re-programming the display part for our engine and we have a little problem with the resolution changes in Windows.At my opinion we shoud destroy the window and deinitialize the GFX API.Then we change the display resolution and we re-create the window and re-initialize the GFX API and we re-load the textures and the other AGP mem related stuff.Is that right guys?
"You losers better learn...NOONE CONTROLS OUR GOD DAMN LIFE!!!" - MANOWAR
That sounds about right to me. The way I have it set up in mine when I change resolution is basically:
// Change Resolution
DestroyWindow();
SpawnWindow(scrWidth, scrHeight, scrDepth, scrFullscreen);
Initialize();
LoadTextures();
// Done
--- Alex Broadwin
--- Domini Nocti Games
// Change Resolution
DestroyWindow();
SpawnWindow(scrWidth, scrHeight, scrDepth, scrFullscreen);
Initialize();
LoadTextures();
// Done
--- Alex Broadwin
--- Domini Nocti Games
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement