Bug: Can't disable DirectX

Under Win32 the SDL code does not link when only ENABLE_WINDIB and not
ENABLE_DIRECTX is defined, because in that case void DX5_SoundFocus(HWND
hwnd) is defined twice.

Of course there is the work around of removing the DirectX files from the
project, but to test the Dib code it would be much easier if I only have to
switch ENABLE_DIRECTX off and on.

Huib-Jan

Of course there is the work around of removing the DirectX files from the
project, but to test the Dib code it would be much easier if I only have to
switch ENABLE_DIRECTX off and on.

(This should be fixed, but in the meantime) you can set the environment
variable SDL_VIDEODRIVER=windib and it will use the Dib code instead of
DirectX without the need to recompile SDL.

–ryan.