Bump StartDirectDraw fix to FIX_MAJOR_BUGS

I was debugging GLFW earlier, and this fix wasn't being enabled.
FIX_BUGS should be for aesthetic bugs that only affect gameplay, not
ones that affect fundamental stability.
This commit is contained in:
Clownacy 2020-09-14 20:14:57 +01:00
parent 55b473a490
commit eadc04e46e

View file

@ -276,7 +276,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
hMenu = GetMenu(hWnd); hMenu = GetMenu(hWnd);
#ifdef FIX_BUGS #ifdef FIX_MAJOR_BUGS
if (conf.display_mode == 1) if (conf.display_mode == 1)
{ {
if (!StartDirectDraw(hWnd, 0, 0)) if (!StartDirectDraw(hWnd, 0, 0))
@ -343,7 +343,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
break; break;
} }
#ifdef FIX_BUGS #ifdef FIX_MAJOR_BUGS
if (!StartDirectDraw(hWnd, 2, depth)) if (!StartDirectDraw(hWnd, 2, depth))
{ {
ReleaseMutex(hMutex); ReleaseMutex(hMutex);