mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 19:04:00 +02:00
- bugfix for windows build and attempt to handle opengl fullscreen init better on windows
This commit is contained in:
@@ -76,6 +76,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
static string application_binary;
|
static string application_binary;
|
||||||
|
static bool disableBacktrace;
|
||||||
static string getStackTrace();
|
static string getStackTrace();
|
||||||
|
|
||||||
void install(string dumpFileName);
|
void install(string dumpFileName);
|
||||||
|
@@ -411,6 +411,11 @@ void init_win32() {
|
|||||||
|
|
||||||
::SetClassLong(hwnd, GCL_HICON, iconPtr);
|
::SetClassLong(hwnd, GCL_HICON, iconPtr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
SetWindowLong(hwnd, GWL_EXSTYLE, 0);
|
||||||
|
SetWindowLong(hwnd, GWL_STYLE, WS_POPUP | WS_CLIPCHILDREN | WS_CLIPSIBLINGS);
|
||||||
|
SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_FRAMECHANGED | SWP_SHOWWINDOW);
|
||||||
|
//SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, fsWidth, fsHeight, SWP_SHOWWINDOW);
|
||||||
}
|
}
|
||||||
void done_win32() {
|
void done_win32() {
|
||||||
::DestroyIcon(icon);
|
::DestroyIcon(icon);
|
||||||
|
Reference in New Issue
Block a user