Mercurial > mm7
diff mm7_2.cpp @ 693:e0a1fccc89b1
map render fixes
author | Gloval |
---|---|
date | Sun, 17 Mar 2013 01:50:34 +0400 |
parents | 066e2b29b30f |
children | 52329962fcdb |
line wrap: on
line diff
--- a/mm7_2.cpp Sat Mar 16 21:57:32 2013 +0400 +++ b/mm7_2.cpp Sun Mar 17 01:50:34 2013 +0400 @@ -579,10 +579,10 @@ pRenderer->BeginScene(); if ( pRenderer->pRenderD3D ) pRenderer->FillRectFast( - pViewport->uViewportX, - pViewport->uViewportY, - pViewport->uViewportZ - pViewport->uViewportX, - pViewport->uViewportW - pViewport->uViewportY + 1, + pViewport->uViewportTL_X, + pViewport->uViewportTL_Y, + pViewport->uViewportBR_X - pViewport->uViewportTL_X, + pViewport->uViewportBR_Y - pViewport->uViewportTL_Y + 1, pRenderer->uTargetGMask | pRenderer->uTargetBMask); auto pTex = (uTextureID_Leather != -1 ? &pIcons_LOD->pTextures[uTextureID_Leather] : nullptr);