mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 12:18:28 +00:00
Fix warnings detected on Android build
This commit is contained in:
parent
a7563bcd3d
commit
252dc85e95
10 changed files with 22 additions and 18 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue