summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_9rm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx
index 65499f2b55fe..98c4c14b91ee 100644
--- a/canvas/source/directx/dx_9rm.cxx
+++ b/canvas/source/directx/dx_9rm.cxx
@@ -569,7 +569,7 @@ namespace dxcanvas
const HWND hwnd(reinterpret_cast<HWND>(pData->hWnd));
mhWnd = hwnd;
- ENSURE_OR_THROW( IsWindow( reinterpret_cast<HWND>(mhWnd) ),
+ ENSURE_OR_THROW( IsWindow( mhWnd ),
"DXRenderModule::create() No valid HWND given." );
// retrieve position and size of the parent window