mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
render: Replaced SDL_RenderFlush with SDL_FlushRenderer.
This uses the same `SDL_VerbNoun` format as the rest of SDL3, and also adds stronger effort to invalidate cached state in the backend, so cooperation improves with apps that are using lowlevel rendering APIs directly. Fixes #367.
This commit is contained in:
@@ -2749,4 +2749,9 @@ expression e, n, v;
|
||||
expression w, i, s;
|
||||
@@
|
||||
- SDL_Vulkan_CreateSurface(w, i, s)
|
||||
+ SDL_Vulkan_CreateSurface(w, i, NULL, s)
|
||||
+ SDL_Vulkan_CreateSurface(w, i, NULL, s)
|
||||
@@
|
||||
@@
|
||||
- SDL_RenderFlush
|
||||
+ SDL_FlushRenderer
|
||||
(...)
|
||||
|
Reference in New Issue
Block a user