1
0
This commit is contained in:
otya128
2016-12-14 20:17:21 +09:00
parent 39d43995a7
commit 23cea555e1

View File

@@ -284,7 +284,7 @@ class Console
void adjustScreen() void adjustScreen()
{ {
glMatrixMode(GL_MODELVIEW); glMatrixMode(GL_MODELVIEW);
glLoadIdentity(); glPushMatrix();
glScalef(fontWidth / 8f, fontHeight / 8f, 1); glScalef(fontWidth / 8f, fontHeight / 8f, 1);
} }
void render() void render()
@@ -293,7 +293,7 @@ class Console
scope (exit) scope (exit)
{ {
glMatrixMode(GL_MODELVIEW); glMatrixMode(GL_MODELVIEW);
glLoadIdentity(); glPopMatrix();
} }
synchronized(this) synchronized(this)
{ {