Windows HACK: default to the DIB driver as it looks smoother to me and

doesn't require locking the surfaces, which probably the cause of apparent
slowness when using the DirectX backend. This needs to be investigated more
This commit is contained in:
gbeauche 2005-11-22 06:26:35 +00:00
parent a7da877356
commit 5fbaa95fbc
2 changed files with 9 additions and 0 deletions

View File

@ -44,3 +44,8 @@ Unix:
prevent/allow for non-floppy/CDROM devices
- ESD is also available on Solaris
- display progress bar during disk file creation in prefs editor
Windows
- main_windows.cpp: undo the SDL/DIB driver trick
- video_windows.cpp: implement with DirectX
- audio_windows.cpp, scsi_windows.cpp: merge from original Windows version

View File

@ -305,6 +305,10 @@ int main(int argc, char **argv)
// Load win32 libraries
KernelInit();
// FIXME: default to DIB driver
if (getenv("SDL_VIDEODRIVER") == NULL)
putenv("SDL_VIDEODRIVER=windib");
// Initialize SDL system
int sdl_flags = 0;
#ifdef USE_SDL_VIDEO