Use C99 bool internally in SDL

This commit is contained in:
Sam Lantinga
2024-08-22 09:21:26 -07:00
parent 6501e90018
commit 8f546bb3c9
450 changed files with 6046 additions and 6033 deletions

View File

@@ -272,7 +272,7 @@ static void SDLCALL SDL_FreeErrBuf(void *data)
#endif
// Routine to get the thread-specific error variable
SDL_error *SDL_GetErrBuf(SDL_bool create)
SDL_error *SDL_GetErrBuf(bool create)
{
#ifdef SDL_THREADS_DISABLED
return SDL_GetStaticErrBuf();