mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Code cleanup in OGLRender::drawTexturedRect.
This commit is contained in:
parent
f48895c012
commit
05cfca2ec6
|
@ -1186,7 +1186,7 @@ void OGLRender::drawTexturedRect(const TexturedRectParams & _params)
|
|||
texST[t].t1 = (_params.lrt + _params.dtdy) * shiftScaleT - gSP.textureTile[t]->fult;
|
||||
}
|
||||
|
||||
if (cache.current[t]->frameBufferTexture) {
|
||||
if (cache.current[t]->frameBufferTexture != CachedTexture::fbNone) {
|
||||
texST[t].s0 = cache.current[t]->offsetS + texST[t].s0;
|
||||
texST[t].t0 = cache.current[t]->offsetT - texST[t].t0;
|
||||
texST[t].s1 = cache.current[t]->offsetS + texST[t].s1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user