mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
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:
parent
af1c05fd58
commit
07ef532681
11 changed files with 29 additions and 25 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue