mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-06 08:00:04 -04:00
[WindowMode] Temporary disabled window mode in Release builds until it's ready for shipping.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user