Displays are now referenced by instance ID instead of index

This commit is contained in:
Sam Lantinga committed 2023-01-29 19:25:15 -08:00
1 parent 758c0dd6d8
commit 22c69bccdf
157 files changed
+1617 -1586

No files matched your search

+7 -2
View File
@@ -1993,12 +1993,12 @@ typedef SDL_GameControllerButtonBind, SDL_GamepadBinding;
@@
@@
- SDL_GetPointDisplayIndex
+ SDL_GetDisplayIndexForPoint
+ SDL_GetDisplayForPoint
(...)
@@
@@
- SDL_GetRectDisplayIndex
+ SDL_GetDisplayIndexForRect
+ SDL_GetDisplayForRect
(...)
@ depends on rule_init_noparachute @
expression e;
@@ -2354,3 +2354,8 @@ SDL_DisplayMode e;
- e.h
+ e.screen_h
)
@@
@@
- SDL_GetWindowDisplayIndex
+ SDL_GetDisplayForWindow
(...)