Commit b5436c6f authored by hybrid's avatar hybrid

Linux VideoModeList fix by jef.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1044 dfc29bdd-3216-0410-991c-e03cc46cb475
parent d73565d1
...@@ -1049,7 +1049,7 @@ video::IVideoModeList* CIrrDeviceLinux::getVideoModeList() ...@@ -1049,7 +1049,7 @@ video::IVideoModeList* CIrrDeviceLinux::getVideoModeList()
display = XOpenDisplay(0); display = XOpenDisplay(0);
temporaryDisplay=true; temporaryDisplay=true;
} }
if (!display) if (display)
{ {
s32 eventbase, errorbase; s32 eventbase, errorbase;
s32 defaultDepth=DefaultDepth(display,screennr); s32 defaultDepth=DefaultDepth(display,screennr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment