SDL_Video.h - audio driver
I believe you intend to say "video driver", not audio drivermain
parent
d66f27376e
commit
7c085862e1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue