Remove duplicated declaration of videoData.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
mbjornstk 2013-04-11 22:45:02 +00:00
parent ccc8f788bd
commit e466badb2f

View File

@ -567,9 +567,7 @@ bool IrrDriver::moveWindow(const int x, const int y)
return false;
}
#elif defined(__linux__) && !defined(ANDROID)
const SExposedVideoData& videoData = m_video_driver->getExposedVideoData();
using namespace X11;
const SExposedVideoData& videoData = m_video_driver->getExposedVideoData();
// TODO: Actually handle possible failure
XMoveWindow((Display*)videoData.OpenGLLinux.X11Display,