mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Fixed: Frequency checks useless because it can be 0 or a wrong value, 16 bits depth requirement
--HG-- branch : develop
This commit is contained in:
parent
be0951f21f
commit
2c6d4b6a50
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 )
|
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;
|
CVideoMode mode;
|
||||||
mode.depth = itr->Depth;
|
mode.depth = itr->Depth;
|
||||||
|
|
Loading…
Reference in a new issue