mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Correct FrameBufferList::fillBufferInfo - do not add depth buffer.
This commit is contained in:
parent
1ec14d0f8b
commit
8202638a7a
|
@ -659,7 +659,7 @@ void FrameBufferList::fillBufferInfo(FrameBufferInfo * _pinfo, u32 _size)
|
||||||
{
|
{
|
||||||
u32 idx = 0;
|
u32 idx = 0;
|
||||||
for (FrameBuffers::iterator iter = m_list.begin(); iter != m_list.end(); ++iter) {
|
for (FrameBuffers::iterator iter = m_list.begin(); iter != m_list.end(); ++iter) {
|
||||||
if (iter->m_width == VI.width && !iter->m_cfb) {
|
if (iter->m_width == VI.width && !iter->m_cfb && !iter->m_isDepthBuffer) {
|
||||||
_pinfo[idx].addr = iter->m_startAddress;
|
_pinfo[idx].addr = iter->m_startAddress;
|
||||||
_pinfo[idx].width = iter->m_width;
|
_pinfo[idx].width = iter->m_width;
|
||||||
_pinfo[idx].height = iter->m_height;
|
_pinfo[idx].height = iter->m_height;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user