Mercurial > mm7
diff UIMainMenu.cpp @ 727:da130dd3092a
Big time Travel ouverhaul
author | Nomad |
---|---|
date | Fri, 22 Mar 2013 00:02:31 +0200 |
parents | d6236f6a9882 |
children | dfd683c4f538 |
line wrap: on
line diff
--- a/UIMainMenu.cpp Thu Mar 21 20:30:17 2013 +0200 +++ b/UIMainMenu.cpp Fri Mar 22 00:02:31 2013 +0200 @@ -63,7 +63,7 @@ for (uint i = 0; i < 480; ++i) pSRZBufferLineOffsets[i] = 640 * i; - pRenderer->ResetClip(); + pRenderer->ResetTextureClipRect(); uTextureID_FONTPAL = pIcons_LOD->LoadTexture("FONTPAL", TEXTURE_16BIT_PALETTE); pFontArrus = LoadFont("arrus.fnt", "FONTPAL", NULL); @@ -352,9 +352,9 @@ pAsyncMouse->_46B736_consume_click_lists(1); pRenderer->BeginScene(); pRenderer->DrawTextureRGB(0, 0, &pTexture); - pRenderer->Clip(pX, pY, pX + v20, pY + a4); + pRenderer->SetTextureClipRect(pX, pY, pX + v20, pY + a4); pRenderer->_4A5D33(pX, pY, 0, a5, &pTexture2); - pRenderer->ResetClip(); + pRenderer->ResetTextureClipRect(); pRenderer->EndScene(); ++a5; if ( a5 >= (signed __int16)pTexture2.uHeight )