From 0b24fa4dd477d20f2065c1569e7e0b28d2c19adc Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 25 Dec 2015 15:26:32 +0100 Subject: [PATCH] Fixed: Frequency checks useless because it can be 0 or a wrong value, 16 bits depth requirement --- code/ryzom/tools/client/client_config_qt/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/client_config_qt/system.cpp b/code/ryzom/tools/client/client_config_qt/system.cpp index a86abb7bb..8ef5a930b 100644 --- a/code/ryzom/tools/client/client_config_qt/system.cpp +++ b/code/ryzom/tools/client/client_config_qt/system.cpp @@ -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;