Menu

#76 Windows env variable patch SDL video and sound driver

None
closed
nobody
None
5
2016-06-29
2010-04-18
No

Separated from 2960404 and changed to use a different config name and have SDL_AUDIODRIVER

This will allow the cfg file to determine whether to set SDL_VIDEODRIVER and SDL_AUDIODRIVER to directx, windib, dsound, or waveout with putenv.

Default is directx for SDL_VIDEODRIVER and dsound (current SDL_default) for SDL_AUDIODRIVER. Direct X has better full screen handling and shouldn't have problems with Vista or 7 since 8 bit is no longer default for point, etc. Direct X is also needed in 9x to render properly (not that it matters much). If a different driver is used, putenv will not be used for that particular driver,

There's also output for what video driver is being used through SDL_VideoDriverName for all OS.

Discussion

  • Malignant Manor

    Malignant Manor - 2010-04-18
     
  • Malignant Manor

    Malignant Manor - 2010-04-21

    win_env_var_b.patch one uses the sdl defaults and should probably be used instead.

     
  • Malignant Manor

    Malignant Manor - 2010-04-21

    This one uses the sdl defaults and should probably be used instead.

     
  • Malignant Manor

    Malignant Manor - 2016-06-29
    • status: open --> closed
    • Group: -->