mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Correct texturedRectCopyToItself - apply it only for 8bit frame buffers.
This commit is contained in:
parent
cccd738086
commit
7eb8e46e12
|
@ -836,7 +836,8 @@ bool texturedRectDepthBufferCopy(const OGLRender::TexturedRectParams & _params)
|
|||
static
|
||||
bool texturedRectCopyToItself(const OGLRender::TexturedRectParams & _params)
|
||||
{
|
||||
if (gSP.textureTile[0]->frameBuffer == frameBufferList().getCurrent())
|
||||
FrameBuffer * pCurrent = frameBufferList().getCurrent();
|
||||
if (pCurrent != NULL && pCurrent->m_size == G_IM_SIZ_8b && gSP.textureTile[0]->frameBuffer == pCurrent)
|
||||
return true;
|
||||
return texturedRectDepthBufferCopy(_params);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user