diff --git a/src/dd.c b/src/dd.c index 2c5d822..961cbea 100644 --- a/src/dd.c +++ b/src/dd.c @@ -849,6 +849,11 @@ HRESULT dd_SetCooperativeLevel(HWND hwnd, DWORD dwFlags) } } + if (!(dwFlags & DDSCL_FULLSCREEN)) + { + dd_SetDisplayMode(640, 480, 8, SDM_MODE_SET_BY_GAME); + } + return DD_OK; }