SDL_RenderReadPixels() now returns a surface

Fixes https://github.com/libsdl-org/SDL/issues/8977
This commit is contained in:
Sam Lantinga committed 2024-02-03 11:49:15 -08:00
1 parent ab571633d1
commit 89b9d6cbdc
22 files changed
+216 -310

No files matched your search

+2
View File
@@ -1053,6 +1053,8 @@ The viewport, clipping state, and scale for render targets are now persistent an
SDL_RenderGeometryRaw() and SDL_Vertex have been changed to use floating point colors, in the range of [0..1] for SDR content.
SDL_RenderReadPixels() returns a surface instead of filling in preallocated memory.
The following functions have been renamed:
* SDL_GetRendererOutputSize() => SDL_GetCurrentRenderOutputSize()
* SDL_RenderCopy() => SDL_RenderTexture()