1
0
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:
Mathieu Schroeter 2018-06-27 18:17:44 +02:00
parent 94996ef4d7
commit e03a539744

View File

@ -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