mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +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:
parent
eef5c53668
commit
dfee3f9e92
19 changed files with 156 additions and 18 deletions
|
@ -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
|
||||
(...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue