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
11 changed files with 29 additions and 25 deletions

View File

@@ -76,6 +76,6 @@ extern const char *SDL_GetPersistentString(const char *string);
extern char *SDL_CreateDeviceName(Uint16 vendor, Uint16 product, const char *vendor_name, const char *product_name, const char *default_name);
// Log what backend a subsystem chose, if a hint was set to do so. Useful for debugging.
extern void SDL_LogBackend(const char *subsystem, const char *backend);
extern void SDL_DebugLogBackend(const char *subsystem, const char *backend);
#endif // SDL_utils_h_