mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Fixed: Frequency checks useless because it can be 0 or a wrong value, 16 bits depth requirement
This commit is contained in:
parent
328ad17bc4
commit
0b24fa4dd4
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ void CSystem::GetVideoModes( std::vector< CVideoMode > &dst, NL3D::IDriver *driv
|
|||
|
||||
for( std::vector< NL3D::GfxMode >::iterator itr = modes.begin(); itr != modes.end(); ++itr )
|
||||
{
|
||||
if( ( itr->Width >= 800 ) && ( itr->Height >= 600 ) && ( itr->Depth == 32 ) && ( itr->Frequency >= 60 ) )
|
||||
if( ( itr->Width >= 800 ) && ( itr->Height >= 600 ) && ( itr->Depth >= 16 ) )
|
||||
{
|
||||
CVideoMode mode;
|
||||
mode.depth = itr->Depth;
|
||||
|
|
Loading…
Reference in a new issue