From 7293c18314fb6581a0b3a6fc3367a2940290dcb1 Mon Sep 17 00:00:00 2001 From: Eduard Gushchin <44260780+edwardgushchin@users.noreply.github.com> Date: Tue, 3 Dec 2024 22:21:24 +0300 Subject: [PATCH] Fixed an inaccuracy in the return parameter information in the SDL_ConvertPixels function --- include/SDL3/SDL_surface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_surface.h b/include/SDL3/SDL_surface.h index d3fc16d490..9114701f1a 100644 --- a/include/SDL3/SDL_surface.h +++ b/include/SDL3/SDL_surface.h @@ -870,7 +870,7 @@ extern SDL_DECLSPEC SDL_Surface * SDLCALL SDL_ConvertSurfaceAndColorspace(SDL_Su * \param dst_format an SDL_PixelFormat value of the `dst` pixels format. * \param dst a pointer to be filled in with new pixel data. * \param dst_pitch the pitch of the destination pixels, in bytes. - * \returns false on success or false on failure; call SDL_GetError() for more + * \returns true on success or false on failure; call SDL_GetError() for more * information. * * \since This function is available since SDL 3.1.3.