Fixed an inaccuracy in the documentation for SDL_ConvertPixelsAndColorspace

This commit is contained in:
Eduard Gushchin 2024-12-18 23:46:27 +03:00 committed by Sam Lantinga
parent 2ce21d1fed
commit da80b9bce5

View file

@ -904,7 +904,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ConvertPixels(int width, int height, SDL_Pi
* properties, or 0. * properties, or 0.
* \param dst a pointer to be filled in with new pixel data. * \param dst a pointer to be filled in with new pixel data.
* \param dst_pitch the pitch of the destination pixels, in bytes. * \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. * information.
* *
* \since This function is available since SDL 3.1.3. * \since This function is available since SDL 3.1.3.