Commit a69531ee authored by hybrid's avatar hybrid

Fixed wrong cast spotted by greenya.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1349 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 7bfe4830
...@@ -358,7 +358,7 @@ bool CD3D8Driver::initDriver(const core::dimension2d<s32>& screenSize, HWND hwnd ...@@ -358,7 +358,7 @@ bool CD3D8Driver::initDriver(const core::dimension2d<s32>& screenSize, HWND hwnd
// set exposed data // set exposed data
ExposedData.D3D8.D3D8 = pID3D; ExposedData.D3D8.D3D8 = pID3D;
ExposedData.D3D8.D3DDev8 = pID3DDevice; ExposedData.D3D8.D3DDev8 = pID3DDevice;
ExposedData.D3D8.HWnd = reinterpret_cast<s32>(hwnd); ExposedData.D3D8.HWnd = hwnd;
ResetRenderStates = true; ResetRenderStates = 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