Linux VideoModeList fix by jef.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1044 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
hybrid 2007-11-12 13:42:18 +00:00
parent abe4b6b3c2
commit e9d4f22d6e

View File

@ -1049,7 +1049,7 @@ video::IVideoModeList* CIrrDeviceLinux::getVideoModeList()
display = XOpenDisplay(0);
temporaryDisplay=true;
}
if (!display)
if (display)
{
s32 eventbase, errorbase;
s32 defaultDepth=DefaultDepth(display,screennr);