Fixed the yellow text.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2848 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
9cae54fbb8
commit
e1e867dded
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue