From 7c085862e1b021ea90e71da2604843e7eed60fbf Mon Sep 17 00:00:00 2001 From: Bruno Sanches Date: Mon, 30 Jan 2023 09:33:08 -0300 Subject: [PATCH] SDL_Video.h - audio driver I believe you intend to say "video driver", not audio driver --- docs/README-migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README-migration.md b/docs/README-migration.md index 66bf8e513..57ea7ede1 100644 --- a/docs/README-migration.md +++ b/docs/README-migration.md @@ -956,7 +956,7 @@ SDL_GetRevisionNumber() has been removed from the API, it always returned 0 in S ## 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. ```c