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

Fix PostProcessor destroy.

Fixed CBFD hangs when you step on this part with Post filters enabled #1292
This commit is contained in:
Sergey Lipskiy 2016-12-09 13:45:57 +07:00
parent f2ee42b64e
commit 96d98c1da5

View File

@ -2220,8 +2220,7 @@ void OGLRender::_destroyData()
m_renderState = rsNone;
m_texrectDrawer.destroy();
if (config.bloomFilter.enable != 0)
PostProcessor::get().destroy();
PostProcessor::get().destroy();
if (TFH.optionsChanged())
TFH.shutdown();
TextDrawer::get().destroy();