mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-03 09:22:45 +00:00
Fix bug in vidMode_t constructor
it caused the default/static video mode list to contain only garbage
This commit is contained in:
parent
f3c4948b2f
commit
4863f11607
1 changed files with 2 additions and 6 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue