Updated logging functions for SDL3 naming convention

This commit is contained in:
Sam Lantinga committed 2024-05-16 10:22:15 -07:00
1 parent 241603b607
commit 4609af618a
74 files changed
+137 -105

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ int SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...)
}
}
if (SDL_LogGetPriority(SDL_LOG_CATEGORY_ERROR) <= SDL_LOG_PRIORITY_DEBUG) {
if (SDL_GetLogPriority(SDL_LOG_CATEGORY_ERROR) <= SDL_LOG_PRIORITY_DEBUG) {
/* If we are in debug mode, print out the error message */
SDL_LogDebug(SDL_LOG_CATEGORY_ERROR, "%s", error->str);
}