From a378f581fb88ce4ca718a18d7cc80d7007ebc66a Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Mon, 6 Aug 2012 12:52:18 +0200 Subject: [PATCH] set resizable flag for screen surface --- src/sdl/InitScreen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl/InitScreen.h b/src/sdl/InitScreen.h index 54e7680..ef0820f 100644 --- a/src/sdl/InitScreen.h +++ b/src/sdl/InitScreen.h @@ -15,7 +15,7 @@ namespace sdl { class InitScreen { public: - InitScreen(int width, int height, int bpp = 32, Sint32 flags = SDL_HWSURFACE | SDL_DOUBLEBUF); + InitScreen(int width, int height, int bpp = 32, Sint32 flags = SDL_HWSURFACE | SDL_DOUBLEBUF | SDL_RESIZABLE); virtual ~InitScreen(void); private: InitScreen(const InitScreen &); -- 2.39.2