diff options
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/directx/dx_9rm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx index 86894825c16f..988f4a06d618 100644 --- a/canvas/source/directx/dx_9rm.cxx +++ b/canvas/source/directx/dx_9rm.cxx @@ -93,7 +93,7 @@ namespace dxcanvas HMONITOR MonitorFromWindow( HWND hwnd ) { // return adapter_default in case something went wrong... - if(!(mpMonitorFromWindow)) + if(!mpMonitorFromWindow) return HMONITOR(nullptr); // MONITOR_DEFAULTTONEAREST const DWORD dwFlags(0x00000002); @@ -561,7 +561,7 @@ namespace dxcanvas void DXRenderModule::disposing() { - if(!(mhWnd)) + if(!mhWnd) return; mpTexture.reset(); |