diff -r 07def9d03315 -r eac8c69b5706 src/video/wincommon/SDL_wingl.c --- a/src/video/wincommon/SDL_wingl.c Sun May 16 17:40:32 2004 +0000 +++ b/src/video/wincommon/SDL_wingl.c Sun May 16 18:02:48 2004 +0000 @@ -50,6 +50,7 @@ if ( SDL_windowid ) { can_reset = 0; } +#if 0 /* This doesn't work with DirectX code (see CVS comments) */ #ifndef _WIN32_WCE /* FIXME WinCE needs the UNICODE version of CreateWindow() */ if ( can_reset ) { /* Save the existing window attributes */ @@ -72,6 +73,7 @@ } } else #endif /* !_WIN32_WCE */ +#endif { SDL_SetError("Unable to reset window for OpenGL context"); status = -1;