fix bug that prevented ogl plugin from recognizing many resolutions, like my favorite 1920x1200

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@252 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2008-08-21 00:05:48 +00:00
parent 77cec36ad4
commit 05c04bd03e
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ void DllConfig(HWND _hParent)
while (EnumDisplaySettings(NULL, iModeNum++, &dmi) != 0)
{
if((x != dmi.dmPelsWidth && y != dmi.dmPelsHeight) && (dmi.dmPelsWidth > x))
if((x != dmi.dmPelsWidth || y != dmi.dmPelsHeight) && (dmi.dmPelsWidth >= x))
{
char szBuffer[100];
sprintf(szBuffer,"%dx%d", dmi.dmPelsWidth, dmi.dmPelsHeight);