From 01188f61d2b3fd5cc73d635f6ac6750722f0e9fe Mon Sep 17 00:00:00 2001 From: chrisf Date: Sat, 14 Jul 2007 08:10:21 +0000 Subject: [PATCH] git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1239 993157c7-ee19-0410-b2c4-bb4e9862e678 --- BluntDx/GraphicsDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BluntDx/GraphicsDevice.h b/BluntDx/GraphicsDevice.h index 7fbf9d99ff..488debfc82 100644 --- a/BluntDx/GraphicsDevice.h +++ b/BluntDx/GraphicsDevice.h @@ -153,7 +153,7 @@ namespace BluntDirectX { namespace Direct3D void EnableScissor( int left, int top, int width, int height ) { - RECT r = { left, top, width, height }; + RECT r = { left, top, left + width, top + height }; device->SetScissorRect( &r ); device->SetRenderState( D3DRS_SCISSORTESTENABLE, true ); }