Fixed fullscreen issues (resulting in rtt not working) on intel

graphics card. Strange thing: everybody should have been running
stk in 16 bit colour mode since r12825, and no one noticed??
Now we properly request and set 32 bit mode, and all is working
fine on intel.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2013-11-13 03:33:39 +00:00
parent caeb87d9a7
commit 0438928933

View File

@@ -345,9 +345,11 @@ void IrrDriver::initDevice()
"anti-alias setting : %i\n",
(int)UserConfigParams::m_antialiasing);
}
m_device = createDeviceEx(params);
if(m_device)
break;
} // for bits=32, 24, 16
m_device = createDeviceEx(params);
// if still no device, try with a standard 800x600 window size, maybe
// size is the problem