mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Cosmetic: remove dead code
This commit is contained in:
parent
94996ef4d7
commit
e03a539744
@ -978,9 +978,6 @@ CPixmap::FromDisplayToGame (Sint32 & x, Sint32 & y, double prevScale)
|
||||
if (this->event->IsDemoPlaying ())
|
||||
return;
|
||||
|
||||
Sint32 w, h;
|
||||
SDL_GetWindowSize (g_window, &w, &h);
|
||||
|
||||
double factor = 1;
|
||||
|
||||
if (!g_bFullScreen)
|
||||
@ -988,9 +985,6 @@ CPixmap::FromDisplayToGame (Sint32 & x, Sint32 & y, double prevScale)
|
||||
|
||||
x /= factor;
|
||||
y /= factor;
|
||||
|
||||
if (!g_bFullScreen)
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user