mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
SDL: Add a way to reset OpenGL graphics by pressing F7.
This commit is contained in:
@@ -449,9 +449,12 @@ void SDLGLGraphicsContext::Shutdown() {
|
||||
void SDLGLGraphicsContext::ShutdownFromRenderThread() {
|
||||
delete draw_;
|
||||
draw_ = nullptr;
|
||||
renderManager_ = nullptr;
|
||||
|
||||
#ifdef USING_EGL
|
||||
EGL_Close();
|
||||
#endif
|
||||
SDL_GL_DeleteContext(glContext);
|
||||
glContext = nullptr;
|
||||
window_ = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user