- bugfix for windows build and attempt to handle opengl fullscreen init better on windows
This commit is contained in:
parent
d9e2a64bb3
commit
2ad24dbe2a
|
@ -76,6 +76,7 @@ private:
|
|||
|
||||
public:
|
||||
static string application_binary;
|
||||
static bool disableBacktrace;
|
||||
static string getStackTrace();
|
||||
|
||||
void install(string dumpFileName);
|
||||
|
|
|
@ -411,6 +411,11 @@ void init_win32() {
|
|||
|
||||
::SetClassLong(hwnd, GCL_HICON, iconPtr);
|
||||
#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() {
|
||||
::DestroyIcon(icon);
|
||||
|
|
Loading…
Reference in New Issue
Block a user