SDL_GL_GetDrawableSize, SDL_Metal_GetDrawableSize, and SDL_Vulkan_GetDrawableSize can be replaced with SDL_GetWindowSizeInPixels

This commit is contained in:
Sam Lantinga 2023-02-13 13:11:43 -08:00
parent c6792f78df
commit b39b7025fd
1 changed files with 15 additions and 0 deletions

View File

@ -2487,3 +2487,18 @@ expression e2;
- SDL_RenderDrawRects
+ SDL_RenderRects
(...)
@@
@@
- SDL_GL_GetDrawableSize
+ SDL_GetWindowSizeInPixels
(...)
@@
@@
- SDL_Metal_GetDrawableSize
+ SDL_GetWindowSizeInPixels
(...)
@@
@@
- SDL_Vulkan_GetDrawableSize
+ SDL_GetWindowSizeInPixels
(...)