diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-02-01 07:59:18 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-02-01 07:59:18 -0500 |
| commit | 031422c5969da0263068da6b810b74c9048d8e2d (patch) | |
| tree | 90a77ba6078b2428ae3a1912d3fb336c73dcf28b /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | db001c1733839aa8784da9b943b1aa69a02960af (diff) | |
| parent | 081137bd4f4fdba599374a43086fe6688ef8c58b (diff) | |
Merge pull request #2000 from degasus/master
VideoBackends: set GLInterface to zero after deleting it
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() |
