]> git.localhorst.tv Git - l2e.git/blobdiff - src/sdl/InitScreen.h
introduced a small delay after flip if the screen is not a hardware surface
[l2e.git] / src / sdl / InitScreen.h
index ef0820fc30e65115a4f0716f15584b059daa93e7..dd5e2456fd0adde7e2aae71081f6f19d0b7acb24 100644 (file)
@@ -25,10 +25,13 @@ public:
        SDL_Surface *Screen(void) { return screen; };
        const SDL_Surface *Screen(void) const { return screen; };
 
-       void Flip(void) { SDL_Flip(screen); };
+       void Flip(void);
+       SDL_Surface *Resize(int width, int height);
 
 private:
        SDL_Surface *screen;
+       int bpp;
+       Sint32 flags;
 
 };