diff options
| author | degasus <wickmarkus@web.de> | 2015-02-01 13:51:34 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2015-02-01 13:51:34 +0100 |
| commit | 081137bd4f4fdba599374a43086fe6688ef8c58b (patch) | |
| tree | 01c61ac63f0a5c48f5ab1c4d7e15c9d7e5c071f4 /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | 3c475b91ea5c4baa13b1339c3d2921938e8a3be9 (diff) | |
VideoBackends: set GLInterface to zero after deleting it
This fixes a crash on opening the gfx settings after closing a game.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index 004ae5e2bf..497d26be00 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -164,6 +164,7 @@ void VideoSoftware::Shutdown() GLInterface->Shutdown(); delete GLInterface; + GLInterface = nullptr; } void VideoSoftware::Video_Cleanup() |
