mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
fix draw history
This commit is contained in:
parent
1624629817
commit
38e25b1670
|
|
@ -1005,7 +1005,11 @@ void Gui::render(float a, bool mouseFree, int xMouse, int yMouse)
|
||||||
this->fill(0, y - 3 - 1, screenWidth/fScaleFactorWidth, y + 10 - 1, bgColor);
|
this->fill(0, y - 3 - 1, screenWidth/fScaleFactorWidth, y + 10 - 1, bgColor);
|
||||||
glEnable(GL_BLEND);
|
glEnable(GL_BLEND);
|
||||||
|
|
||||||
font->drawShadowLiteral(msg, iSafezoneXHalf+4, y + 0, 0xffffff + (alpha << 24));
|
glPushMatrix();
|
||||||
|
glTranslatef((float)(iSafezoneXHalf+4), (float)(y), 0);
|
||||||
|
glScalef(0.6f, 0.6f, 1.0f);
|
||||||
|
font->drawShadowLiteral(msg, 0, 0, 0xffffff + (alpha << 24));
|
||||||
|
glPopMatrix();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue