mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
SDL: Add a way to reset OpenGL graphics by pressing F7.
This commit is contained in:
1 parent
7912eef0b7
commit
d167a11b1c
3 files changed
+50
-8
No files matched your search
@@ -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