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

Set m_drawBuffer = GL_BACK in FrameBufferList::destroy().

Fixed crash on rom reset.
This commit is contained in:
Sergey Lipskiy 2014-09-27 13:31:02 +07:00
parent c0e0df2551
commit 8733c2b3e7

View File

@ -151,6 +151,7 @@ void FrameBufferList::init()
void FrameBufferList::destroy() { void FrameBufferList::destroy() {
m_list.clear(); m_list.clear();
m_pCurrent = NULL; m_pCurrent = NULL;
m_drawBuffer = GL_BACK;
} }
FrameBuffer * FrameBufferList::findBuffer(u32 _address) FrameBuffer * FrameBufferList::findBuffer(u32 _address)