diff --git a/src/SDL_error.c b/src/SDL_error.c index 82184496c..79e9347a4 100644 --- a/src/SDL_error.c +++ b/src/SDL_error.c @@ -111,7 +111,7 @@ SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) va_end(ap); /* If we are in debug mode, print out an error message */ - SDL_LogError(SDL_LOG_CATEGORY_ERROR, "%s", SDL_GetError()); + SDL_LogDebug(SDL_LOG_CATEGORY_ERROR, "%s", SDL_GetError()); return -1; }