mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
utils: DrawFullscreen: Initialize variables
Not strictly necessary as they're set by al_get_clipping_rectangle, but makes clang-tidy happy.
This commit is contained in:
parent
a0d497b5b8
commit
5cecd78234
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ SYMBOL_EXPORT void DrawCenteredTintedScaled(ALLEGRO_BITMAP* bitmap, ALLEGRO_COLO
|
|||
}
|
||||
|
||||
SYMBOL_EXPORT void DrawFullscreen(ALLEGRO_BITMAP* bitmap, int flags) {
|
||||
int x, y, w, h;
|
||||
int x = 0, y = 0, w = 0, h = 0;
|
||||
ALLEGRO_TRANSFORM transform, orig = *al_get_current_transform();
|
||||
al_identity_transform(&transform);
|
||||
al_get_clipping_rectangle(&x, &y, &w, &h);
|
||||
|
|
Loading…
Reference in a new issue