mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-04 01:41:40 +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;
|
displayHz = 60;
|
||||||
}
|
}
|
||||||
|
|
||||||
vidMode_t( int widht, int height, int displayHz )
|
vidMode_t( int width, int height, int displayHz ) :
|
||||||
{
|
width(width), height(height), displayHz(displayHz) {}
|
||||||
this->width = width;
|
|
||||||
this->height = height;
|
|
||||||
this->displayHz = displayHz;
|
|
||||||
}
|
|
||||||
// RB end
|
// RB end
|
||||||
|
|
||||||
bool operator==( const vidMode_t& a )
|
bool operator==( const vidMode_t& a )
|
||||||
|
|
Loading…
Reference in a new issue