mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 02:43:57 +02:00
- Some improvements for setting max videomode when AutoMaxFullScreen=true and Windowed=false
- Added better logic to try to restore video when crashing
This commit is contained in:
@@ -99,7 +99,7 @@ string extractDirectoryPathFromFile(string filename);
|
||||
|
||||
void getFullscreenVideoInfo(int &colorBits,int &screenWidth,int &screenHeight);
|
||||
bool changeVideoMode(int resH, int resW, int colorBits, int refreshFrequency);
|
||||
void restoreVideoMode();
|
||||
void restoreVideoMode(bool exitingApp=false);
|
||||
|
||||
bool EndsWith(const string &str, const string& key);
|
||||
void message(string message);
|
||||
|
@@ -108,7 +108,7 @@ string extractDirectoryPathFromFile(string filename);
|
||||
|
||||
void getFullscreenVideoInfo(int &colorBits,int &screenWidth,int &screenHeight);
|
||||
bool changeVideoMode(int resH, int resW, int colorBits, int refreshFrequency);
|
||||
void restoreVideoMode();
|
||||
void restoreVideoMode(bool exitingApp=false);
|
||||
|
||||
bool EndsWith(const string &str, const string& key);
|
||||
void message(string message);
|
||||
|
Reference in New Issue
Block a user