mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-17 07:16:00 +00:00
Fix warnings detected on Android build
This commit is contained in:
@@ -999,7 +999,7 @@ SDLTest_CommonInit(SDLTest_CommonState * state)
|
||||
}
|
||||
if (state->logical_w && state->logical_h) {
|
||||
SDL_RenderSetLogicalSize(state->renderers[i], state->logical_w, state->logical_h);
|
||||
} else if (state->scale) {
|
||||
} else if (state->scale != 0.) {
|
||||
SDL_RenderSetScale(state->renderers[i], state->scale, state->scale);
|
||||
}
|
||||
if (state->verbose & VERBOSE_RENDER) {
|
||||
|
Reference in New Issue
Block a user