OpenGL error messages are now reported properly
This commit is contained in:
@@ -385,6 +385,7 @@ plat_munmap(void *ptr, size_t size)
|
||||
#endif
|
||||
}
|
||||
|
||||
extern bool cpu_thread_running;
|
||||
void
|
||||
plat_pause(int p)
|
||||
{
|
||||
@@ -392,6 +393,10 @@ plat_pause(int p)
|
||||
wchar_t title[1024];
|
||||
wchar_t paused_msg[512];
|
||||
|
||||
if (!cpu_thread_running && p == 1) {
|
||||
p = 2;
|
||||
}
|
||||
|
||||
if ((!!p) == dopause) {
|
||||
#ifdef Q_OS_WINDOWS
|
||||
if (source_hwnd)
|
||||
|
||||
Reference in New Issue
Block a user