Don't try to use the SDL DirectX driver under Windows CE.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1568
This commit is contained in:
Simon Howard 2009-06-07 16:35:43 +00:00
parent 1a54277adf
commit ad9f8107f4
2 changed files with 2 additions and 2 deletions

View file

@ -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");

View file

@ -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.