Fix bug in vidMode_t constructor

it caused the default/static video mode list to contain only garbage
This commit is contained in:
Daniel Gibson 2012-12-18 22:49:22 +01:00
parent f3c4948b2f
commit 4863f11607

View file

@ -1037,12 +1037,8 @@ struct vidMode_t
displayHz = 60;
}
vidMode_t( int widht, int height, int displayHz )
{
this->width = width;
this->height = height;
this->displayHz = displayHz;
}
vidMode_t( int width, int height, int displayHz ) :
width(width), height(height), displayHz(displayHz) {}
// RB end
bool operator==( const vidMode_t& a )