Skip to content

Commit

Permalink
Merge pull request #2000 from degasus/master
Browse files Browse the repository at this point in the history
VideoBackends: set GLInterface to zero after deleting it
  • Loading branch information
lioncash committed Feb 1, 2015
2 parents db001c1 + 081137b commit 031422c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/VideoBackends/OGL/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ void VideoBackend::Shutdown()

GLInterface->Shutdown();
delete GLInterface;
GLInterface = nullptr;
}

void VideoBackend::Video_Cleanup()
Expand Down
1 change: 1 addition & 0 deletions Source/Core/VideoBackends/Software/SWmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ void VideoSoftware::Shutdown()

GLInterface->Shutdown();
delete GLInterface;
GLInterface = nullptr;
}

void VideoSoftware::Video_Cleanup()
Expand Down

0 comments on commit 031422c

Please sign in to comment.