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

Fix monochrome frame buffers when FSAA is on.

Fixed shadows in Mario Tennis.
This commit is contained in:
Sergey Lipskiy 2015-02-21 20:20:32 +06:00
parent 526dfe0846
commit 7b730096b3

View File

@ -321,6 +321,10 @@ void FrameBufferList::saveBuffer(u32 _address, u16 _format, u16 _size, u16 _widt
m_pCurrent->m_size = _size;
m_pCurrent->m_pTexture->format = _format;
m_pCurrent->m_pTexture->size = _size;
if (m_pCurrent->m_pResolveTexture != NULL) {
m_pCurrent->m_pResolveTexture->format = _format;
m_pCurrent->m_pResolveTexture->size = _size;
}
}
}
}