Commit f16ed300 authored by hybrid's avatar hybrid

Wrong cast type.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1592 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 01a0042f
...@@ -974,7 +974,7 @@ bool CIrrDeviceLinux::present(video::IImage* image, void* windowId, core::rect<s ...@@ -974,7 +974,7 @@ bool CIrrDeviceLinux::present(video::IImage* image, void* windowId, core::rect<s
GC gc = DefaultGC(display, DefaultScreen(display)); GC gc = DefaultGC(display, DefaultScreen(display));
Window myWindow=window; Window myWindow=window;
if (windowId) if (windowId)
myWindow = static_cast<Window>(windowId); myWindow = reinterpret_cast<Window>(windowId);
XPutImage(display, myWindow, gc, SoftwareImage, 0, 0, 0, 0, destwidth, destheight); XPutImage(display, myWindow, gc, SoftwareImage, 0, 0, 0, 0, destwidth, destheight);
#endif #endif
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment