1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Correct FrameBufferList::fillBufferInfo - do not add depth buffer.

This commit is contained in:
Sergey Lipskiy 2016-01-17 16:07:45 +06:00
parent 1ec14d0f8b
commit 8202638a7a

View File

@ -659,7 +659,7 @@ void FrameBufferList::fillBufferInfo(FrameBufferInfo * _pinfo, u32 _size)
{
u32 idx = 0;
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].width = iter->m_width;
_pinfo[idx].height = iter->m_height;