Renamed AUDIODRIVER and VIDEODRIVER hint/env to AUDIO_DRIVER and VIDEO_DRIVER

This commit is contained in:
Sylvain
2022-12-08 10:40:01 +01:00
committed by Ryan C. Gordon
parent 7ca0d15d64
commit c265fb74b0
9 changed files with 15 additions and 9 deletions

View File

@@ -2313,7 +2313,7 @@ extern "C" {
* This hint is available since SDL 2.0.22. Before then, you could set
* the environment variable to get the same effect.
*/
#define SDL_HINT_VIDEODRIVER "SDL_VIDEODRIVER"
#define SDL_HINT_VIDEO_DRIVER "SDL_VIDEO_DRIVER"
/**
* \brief A variable that decides what audio backend to use.
@@ -2336,7 +2336,7 @@ extern "C" {
* This hint is available since SDL 2.0.22. Before then, you could set
* the environment variable to get the same effect.
*/
#define SDL_HINT_AUDIODRIVER "SDL_AUDIODRIVER"
#define SDL_HINT_AUDIO_DRIVER "SDL_AUDIO_DRIVER"
/**
* \brief A variable that decides what KMSDRM device to use.