From da80b9bce50b12c2731f85691fd6f9aec2eb4c2f Mon Sep 17 00:00:00 2001 From: Eduard Gushchin <44260780+edwardgushchin@users.noreply.github.com> Date: Wed, 18 Dec 2024 23:46:27 +0300 Subject: [PATCH] Fixed an inaccuracy in the documentation for SDL_ConvertPixelsAndColorspace --- 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 92d863def3..5f95643cc0 100644 --- a/include/SDL3/SDL_surface.h +++ b/include/SDL3/SDL_surface.h @@ -904,7 +904,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ConvertPixels(int width, int height, SDL_Pi * properties, or 0. * \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.