hints: Renamed SDL_HINT_LOG_BACKENDS to SDL_DEBUG_LOGGING.

This still logs backend choices, but we might use it for other things. For
example, what Android device is being used, or all the devices we enumerated,
etc.

Ideally this eventually logs all the stuff we often have to ask followup
questions about.
This commit is contained in:
Ryan C. Gordon 2025-07-22 13:19:30 -04:00
parent af1c05fd58
commit 07ef532681
No known key found for this signature in database
GPG key ID: FA148B892AB48044
11 changed files with 29 additions and 25 deletions

View file

@ -119,7 +119,7 @@ SDL_Storage *SDL_OpenTitleStorage(const char *override, SDL_PropertiesID props)
}
}
if (storage) {
SDL_LogBackend("title_storage", titlebootstrap[i]->name);
SDL_DebugLogBackend("title_storage", titlebootstrap[i]->name);
} else {
if (driver_name) {
SDL_SetError("%s not available", driver_name);
@ -163,7 +163,7 @@ SDL_Storage *SDL_OpenUserStorage(const char *org, const char *app, SDL_Propertie
}
}
if (storage) {
SDL_LogBackend("user_storage", userbootstrap[i]->name);
SDL_DebugLogBackend("user_storage", userbootstrap[i]->name);
} else {
if (driver_name) {
SDL_SetError("%s not available", driver_name);