Fixing lots of UI bugs
This commit is contained in:
1 parent
8e745ce0cd
commit
79413e7319
33 files changed
+1740
-1342
No files matched your search
+20
-1
@@ -823,7 +823,26 @@ namespace ZL
|
||||
renderer.PushMatrix();
|
||||
renderer.LoadIdentity();
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D, loadingTexture->getTexID());
|
||||
if (showLoadingProgressBar == false) // Loading language screen
|
||||
{
|
||||
if (ZL::g_currentLanguage == ZL::Language::English)
|
||||
{
|
||||
glBindTexture(GL_TEXTURE_2D, menuManager.languageLoadingEn->getTexID());
|
||||
}
|
||||
else if (ZL::g_currentLanguage == ZL::Language::Russian)
|
||||
{
|
||||
glBindTexture(GL_TEXTURE_2D, menuManager.languageLoadingRu->getTexID());
|
||||
}
|
||||
else
|
||||
{
|
||||
glBindTexture(GL_TEXTURE_2D, loadingTexture->getTexID());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
glBindTexture(GL_TEXTURE_2D, loadingTexture->getTexID());
|
||||
}
|
||||
|
||||
renderer.DrawVertexRenderStruct(loadingMesh);
|
||||
|
||||
renderer.PopMatrix();
|
||||
|
||||
Reference in new issue
Block a user