Wrong cast type.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1592 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
01a0042f91
commit
f16ed30071
|
@ -974,7 +974,7 @@ bool CIrrDeviceLinux::present(video::IImage* image, void* windowId, core::rect<s
|
|||
GC gc = DefaultGC(display, DefaultScreen(display));
|
||||
Window myWindow=window;
|
||||
if (windowId)
|
||||
myWindow = static_cast<Window>(windowId);
|
||||
myWindow = reinterpret_cast<Window>(windowId);
|
||||
XPutImage(display, myWindow, gc, SoftwareImage, 0, 0, 0, 0, destwidth, destheight);
|
||||
#endif
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue