GL: Don't wait-for-idle when shutting down the PSP GPU, it's the wrong place. Should fix #10652

This commit is contained in:
Henrik Rydgård 2018-02-26 15:48:45 +01:00
parent 375fa3fb5b
commit 10be0cad96

View File

@ -184,10 +184,6 @@ GPU_GLES::GPU_GLES(GraphicsContext *gfxCtx, Draw::DrawContext *draw)
}
GPU_GLES::~GPU_GLES() {
GLRenderManager *render = (GLRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
render->Wipe();
render->WaitUntilQueueIdle();
framebufferManagerGL_->DestroyAllFBOs();
shaderManagerGL_->ClearCache(true);
depalShaderCache_.Clear();