mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Correct CheckForFrameBufferTexture:
if found buffer is CFB - remove it. Buffers renderd by CPU can't be used as texture frame buffer. Fixed excitebike64: black textures (regression) #345
This commit is contained in:
parent
272af69077
commit
5ccf6ee60a
5
gDP.cpp
5
gDP.cpp
|
@ -383,6 +383,11 @@ bool CheckForFrameBufferTexture(u32 _address, u32 _bytes)
|
|||
bRes = false;
|
||||
}
|
||||
|
||||
if (pBuffer->m_cfb) {
|
||||
frameBufferList().removeBuffer(pBuffer->m_startAddress);
|
||||
bRes = false;
|
||||
}
|
||||
|
||||
if ((config.generalEmulation.hacks & hack_noDepthFrameBuffers) != 0 && pBuffer->m_isDepthBuffer) {
|
||||
frameBufferList().removeBuffer(pBuffer->m_startAddress);
|
||||
bRes = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user