Removed unused constructor of CVideo.

This commit is contained in:
Guillaume Melquiond 2009-08-16 17:17:45 +00:00
parent f93038fc35
commit c190c85d19
2 changed files with 0 additions and 13 deletions

View file

@ -244,18 +244,6 @@ CVideo::CVideo(FAKE_TYPES type) : mode_changed_(false), bpp_(0), fake_screen_(fa
}
}
CVideo::CVideo( int x, int y, int bits_per_pixel, int flags)
: mode_changed_(false), bpp_(0), fake_screen_(false), help_string_(0), updatesLocked_(0)
{
initSDL();
const int mode_res = setMode( x, y, bits_per_pixel, flags );
if (mode_res == 0) {
ERR_DP << "Could not set Video Mode\n";
throw CVideo::error();
}
}
void CVideo::initSDL()
{
const int res = SDL_InitSubSystem(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE);

View file

@ -44,7 +44,6 @@ class CVideo : private boost::noncopyable {
FAKE_TEST
};
CVideo(FAKE_TYPES type = NO_FAKE);
CVideo(int x, int y, int bits_per_pixel, int flags);
~CVideo();