removing uneeded check
authorJavier S. Pedro <maemo@javispedro.com>
Tue, 29 Sep 2009 18:07:59 +0000 (20:07 +0200)
committerJavier S. Pedro <maemo@javispedro.com>
Tue, 29 Sep 2009 18:07:59 +0000 (20:07 +0200)
platform/sdlv.cpp

index 8fe2f1a..a4af4a7 100644 (file)
@@ -609,11 +609,6 @@ static void setupVideoSurface()
        const unsigned gameWidth = IMAGE_WIDTH;
        const unsigned gameHeight = IMAGE_HEIGHT;
 
-       if (scaler) {
-               delete scaler;
-               scaler = 0;
-       }
-
 #ifdef MAEMO
        if ((Config.fullscreen && !gotScreenSize) ||
                (!Config.fullscreen && !gotWindowSize)) {