hints: Added SDL_HINT_LOG_BACKENDS.

Fixes #13354.
This commit is contained in:
Ryan C. Gordon committed 2025-07-14 19:49:38 -04:00
1 parent 277f91c317
commit 10004ab0ea
12 files changed
+57 -7

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ static SDL_GetPowerInfo_Impl implementations[] = {
SDL_PowerState SDL_GetPowerInfo(int *seconds, int *percent)
{
#ifndef SDL_POWER_DISABLED
const int total = sizeof(implementations) / sizeof(implementations[0]);
const int total = SDL_arraysize(implementations);
SDL_PowerState result = SDL_POWERSTATE_UNKNOWN;
int i;
#endif