Merge pull request #5084 from kariem2k/fix_cmake_sdl3

Removed verbose logging on SDL3.
This commit is contained in:
Ray 2025-08-03 19:53:53 +02:00 committed by GitHub
commit b4ecfb648d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1103,8 +1103,7 @@ Vector2 GetWindowScaleDPI(void)
TRACELOG(LOG_WARNING, "GetWindowScaleDPI() not implemented on target platform"); TRACELOG(LOG_WARNING, "GetWindowScaleDPI() not implemented on target platform");
#else #else
scale.x = SDL_GetWindowDisplayScale(platform.window); scale.x = SDL_GetWindowDisplayScale(platform.window);
scale.y = scale.x; scale.y = scale.x;
TRACELOG(LOG_INFO, "WindowScaleDPI is %f", scale.x);
#endif #endif
return scale; return scale;