diff options
-rw-r--r-- | setup/display.c | 2 | ||||
-rw-r--r-- | src/i_video.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/setup/display.c b/setup/display.c index 7bcf0d5b..befec91f 100644 --- a/setup/display.c +++ b/setup/display.c @@ -116,7 +116,7 @@ void SetDisplayDriver(void) } else { -#ifdef _WIN32 +#if defined(_WIN32) && !defined(_WIN32_WCE) // On Windows, use DirectX over windib by default. putenv("SDL_VIDEODRIVER=directx"); diff --git a/src/i_video.c b/src/i_video.c index 0ed4d716..fa7dfff9 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -1353,7 +1353,7 @@ static void SetSDLVideoDriver(void) free(env_string); } -#ifdef _WIN32 +#if defined(_WIN32) && !defined(_WIN32_WCE) // Allow -gdi as a shortcut for using the windib driver. |