Updated documentation for bool return type

Also updated the test CRC functions to return bool.
This commit is contained in:
Sam Lantinga committed 2024-09-16 13:12:15 -07:00
1 parent 4a2683e2c1
commit 1bbc897e48
6 files changed
+42 -39

No files matched your search

+1 -1
View File
@@ -584,7 +584,7 @@ extern SDL_DECLSPEC SDL_bool SDLCALL SDL_SurfaceHasColorKey(SDL_Surface *surface
* The color key is a pixel of the format used by the surface, as generated by
* SDL_MapRGB().
*
* If the surface doesn't have color key enabled this function returns -1.
* If the surface doesn't have color key enabled this function returns SDL_FALSE.
*
* \param surface the SDL_Surface structure to query.
* \param key a pointer filled in with the transparent pixel.