SDL_Video.h - audio driver

I believe you intend to say "video driver", not audio driver
main
Bruno Sanches 2023-01-30 09:33:08 -03:00 committed by Sam Lantinga
parent d66f27376e
commit 7c085862e1
1 changed files with 1 additions and 1 deletions

View File

@ -956,7 +956,7 @@ SDL_GetRevisionNumber() has been removed from the API, it always returned 0 in S
## SDL_video.h ## SDL_video.h
SDL_VideoInit() and SDL_VideoQuit() have been removed. Instead you can call SDL_InitSubSytem() and SDL_QuitSubSytem() with SDL_INIT_VIDEO, which will properly refcount the subsystems. You can choose a specific audio driver using SDL_VIDEO_DRIVER hint. SDL_VideoInit() and SDL_VideoQuit() have been removed. Instead you can call SDL_InitSubSytem() and SDL_QuitSubSytem() with SDL_INIT_VIDEO, which will properly refcount the subsystems. You can choose a specific video driver using SDL_VIDEO_DRIVER hint.
Rather than iterating over displays using display index, there is a new function SDL_GetDisplays() to get the current list of displays, and functions which used to take a display index now take SDL_DisplayID, with an invalid ID being 0. Rather than iterating over displays using display index, there is a new function SDL_GetDisplays() to get the current list of displays, and functions which used to take a display index now take SDL_DisplayID, with an invalid ID being 0.
```c ```c