Wrong cast type.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1592 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2008-09-29 11:13:29 +00:00
parent 01a0042f91
commit f16ed30071
1 changed files with 1 additions and 1 deletions

View File

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