mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Set m_drawBuffer = GL_BACK in FrameBufferList::destroy().
Fixed crash on rom reset.
This commit is contained in:
parent
c0e0df2551
commit
8733c2b3e7
|
@ -151,6 +151,7 @@ void FrameBufferList::init()
|
|||
void FrameBufferList::destroy() {
|
||||
m_list.clear();
|
||||
m_pCurrent = NULL;
|
||||
m_drawBuffer = GL_BACK;
|
||||
}
|
||||
|
||||
FrameBuffer * FrameBufferList::findBuffer(u32 _address)
|
||||
|
|
Loading…
Reference in New Issue
Block a user