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()
|
void DrawMessages()
|
||||||
{
|
{
|
||||||
GLboolean wasEnabled = glIsEnabled(GL_BLEND);
|
// Get the status of the Blend mode
|
||||||
if (!wasEnabled)
|
GLboolean enabled = glIsEnabled(GL_BLEND);
|
||||||
glEnable(GL_BLEND);
|
|
||||||
|
glDisable(GL_BLEND);
|
||||||
|
|
||||||
if (s_listMsgs.size() > 0)
|
if (s_listMsgs.size() > 0)
|
||||||
{
|
{
|
||||||
|
@ -80,8 +81,8 @@ void DrawMessages()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!wasEnabled)
|
if (enabled)
|
||||||
glDisable(GL_BLEND);
|
glEnable(GL_BLEND);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
Loading…
Reference in New Issue