mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
SceneWidget windowHandle fix for Windows.
This commit is contained in:
parent
7500895519
commit
8971db8962
@ -86,8 +86,11 @@ namespace CSVRender
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::stringstream windowHandle;
|
std::stringstream windowHandle;
|
||||||
|
#ifdef WIN32
|
||||||
|
windowHandle << Ogre::StringConverter::toString((unsigned long)(this->winId()));
|
||||||
|
#else
|
||||||
windowHandle << this->winId();
|
windowHandle << this->winId();
|
||||||
|
#endif
|
||||||
std::stringstream windowTitle;
|
std::stringstream windowTitle;
|
||||||
static int count=0;
|
static int count=0;
|
||||||
windowTitle << ++count;
|
windowTitle << ++count;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user