git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1239 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
chrisf
2007-07-14 08:10:21 +00:00
parent 007d7c468c
commit 01188f61d2

View File

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