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:
parent
c0e0df2551
commit
8733c2b3e7
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user