summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWmain.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2014-03-03 21:11:20 +0100
committerTillmann Karras <tilkax@gmail.com>2014-03-06 01:53:29 +0100
commitd461b3f33c4462647d8725300b5eba1ad8a438fc (patch)
treeca596b7234eb6f5d9c65fdad3a55c57c21a44c1b /Source/Core/VideoBackends/Software/SWmain.cpp
parente5b250fa792ab48f8c4d6adb94c544312f13acd1 (diff)
SW renderer: add missing ClearCurrent()
courtesy of degasus
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWmain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp
index 93aff80323..c5178f682c 100644
--- a/Source/Core/VideoBackends/Software/SWmain.cpp
+++ b/Source/Core/VideoBackends/Software/SWmain.cpp
@@ -172,6 +172,7 @@ void VideoSoftware::Shutdown()
void VideoSoftware::Video_Cleanup()
{
+ GLInterface->ClearCurrent();
}
// This is called after Video_Initialize() from the Core