Fixed compiler warning (on OSX).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
b182e71865
commit
019e02bdb5
@ -549,8 +549,8 @@ core::position2di IrrDriver::getMouseLocation()
|
||||
*/
|
||||
bool IrrDriver::moveWindow(const int x, const int y)
|
||||
{
|
||||
const SExposedVideoData& videoData = m_video_driver->getExposedVideoData();
|
||||
#ifdef WIN32
|
||||
const SExposedVideoData& videoData = m_video_driver->getExposedVideoData();
|
||||
// this should work even if using DirectX in theory,
|
||||
// because the HWnd is always third pointer in the struct,
|
||||
// no matter which union is used
|
||||
|
Loading…
Reference in New Issue
Block a user