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:
hikerstk 2013-04-10 07:09:10 +00:00
parent b182e71865
commit 019e02bdb5

View File

@ -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