Removed unused constructor of CVideo.
This commit is contained in:
parent
f93038fc35
commit
c190c85d19
2 changed files with 0 additions and 13 deletions
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue