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:
parent
abe4b6b3c2
commit
e9d4f22d6e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user