mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-22 07:15:44 +00:00
Renamed AUDIODRIVER and VIDEODRIVER hint/env to AUDIO_DRIVER and VIDEO_DRIVER
This commit is contained in:
@@ -892,7 +892,7 @@ int SDL_AudioInit(const char *driver_name)
|
||||
|
||||
/* Select the proper audio driver */
|
||||
if (driver_name == NULL) {
|
||||
driver_name = SDL_GetHint(SDL_HINT_AUDIODRIVER);
|
||||
driver_name = SDL_GetHint(SDL_HINT_AUDIO_DRIVER);
|
||||
}
|
||||
|
||||
if (driver_name != NULL && *driver_name != 0) {
|
||||
|
||||
Reference in New Issue
Block a user