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:
parent
1a54277adf
commit
ad9f8107f4
2 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue