summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-07-26 18:48:55 -0300
committerGitHub <noreply@github.com>2016-07-26 18:48:55 -0300
commit548a69aca7d843654ccc554da436bd03f2d59a7b (patch)
tree090dea8e5ca349fefdd1137b0a2b212d246b222a /platform
parent80e8904784796e3592c667ef8cb4acbda6ab9821 (diff)
parentfd659e869b86bc72d1e22ee601ba46d145b8dbaa (diff)
Merge pull request #5909 from akien-mga/pr-gles2-error-before-crash
GLES2: Check for GPU capabilities to display an error
Diffstat (limited to 'platform')
-rw-r--r--platform/windows/os_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index a3858fe641..571277f91e 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -1343,7 +1343,7 @@ void OS_Windows::vprint(const char* p_format, va_list p_list, bool p_stderr) {
void OS_Windows::alert(const String& p_alert,const String& p_title) {
if (!is_no_window_mode_enabled())
- MessageBoxW(NULL,p_alert.c_str(),p_title.c_str(),MB_OK|MB_ICONEXCLAMATION);
+ MessageBoxW(NULL, p_alert.c_str(), p_title.c_str(), MB_OK | MB_ICONEXCLAMATION | MB_TASKMODAL);
else
print_line("ALERT: "+p_alert);
}