diff --git a/Source/Plugins/Plugin_VideoOGL/Src/OnScreenDisplay.cpp b/Source/Plugins/Plugin_VideoOGL/Src/OnScreenDisplay.cpp index 1275ca779e..fba0e8fe05 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/OnScreenDisplay.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/OnScreenDisplay.cpp @@ -48,9 +48,10 @@ void AddMessage(const char* pstr, u32 ms) void DrawMessages() { - GLboolean wasEnabled = glIsEnabled(GL_BLEND); - if (!wasEnabled) - glEnable(GL_BLEND); + // Get the status of the Blend mode + GLboolean enabled = glIsEnabled(GL_BLEND); + + glDisable(GL_BLEND); if (s_listMsgs.size() > 0) { @@ -80,8 +81,8 @@ void DrawMessages() } } - if (!wasEnabled) - glDisable(GL_BLEND); + if (enabled) + glEnable(GL_BLEND); } } // namespace