mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:53:52 +02:00
fix bad colors on windows
This commit is contained in:
parent
ea33c66681
commit
2f981686fa
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ void drawText(int x, int y, float scale, float radians, int mono,
|
|||
glRotated(double(radians * DEGREES_PER_RADIAN), 0.0, 0.0, 1.0);
|
||||
glScalef(scale / 0.1f, scale / 0.1f, 1.0f);
|
||||
|
||||
glm::vec4 colorV4 = {color[0], color[1], color[3], 1.0f };
|
||||
glm::vec4 colorV4 = {color[0], color[1], color[2], 1.0f };
|
||||
textRenderer(mono)->draw(0, 0, string, colorV4);
|
||||
glPopMatrix();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue