mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix fb texture offsetS.
Fixed IR scanner in Perfect Dark.
This commit is contained in:
parent
5b8986874a
commit
99b0bc1e59
|
@ -521,7 +521,7 @@ void FrameBuffer_ActivateBufferTexture(s16 t, FrameBuffer *pBuffer)
|
|||
}
|
||||
else
|
||||
{
|
||||
pBuffer->m_pTexture->offsetS = (float)(shift % factor);
|
||||
pBuffer->m_pTexture->offsetS = (float)((shift % factor) >> pBuffer->m_size << 1);
|
||||
pBuffer->m_pTexture->offsetT = (float)(pBuffer->m_height - shift/factor);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user