4 * Created on: Apr 22, 2012
8 #include "InitScreen.h"
12 using std::runtime_error;
17 InitScreen::InitScreen(int width, int height, int bpp, Sint32 flags)
18 : screen(SDL_SetVideoMode(width, height, bpp, flags)) {
20 throw runtime_error("failed to open screen");
24 InitScreen::~InitScreen(void) {