[WindowMode] Temporary disabled window mode in Release builds until it's ready for shipping.

This commit is contained in:
Thomas Roß
2024-04-23 21:12:35 +02:00
parent 94657a5233
commit a03489c8fb

View File

@@ -625,10 +625,12 @@ int PASCAL HandledWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR szCmdLine,
d3 = new oeD3Win32App(OEAPP_CONSOLE, (HInstance)hInst);
} else {
unsigned int flags = OEAPP_FULLSCREEN;
#ifndef RELEASE // TODO: remove #ifndef when window mode is ready for primetime
if (FindArg("-windowed")) {
// switch to windowed mode instead
flags = OEAPP_WINDOWED;
}
#endif
d3 = new oeD3Win32App(flags, (HInstance)hInst);
}