Display modificatinos in Windows?

Started by
0 comments, last by Mihail121 20 years, 10 months ago
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
Advertisement
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
- [email=atronic@gamebox.net]Alex Broadwin[/email]- Adroit Creations- My Journal- The All-Knowing One

This topic is closed to new replies.

Advertisement