From 23cea555e1a2e5c69f473f44b8b1edf0f225454f Mon Sep 17 00:00:00 2001 From: otya128 Date: Wed, 14 Dec 2016 20:17:21 +0900 Subject: [PATCH] / --- SMILEBASIC/console.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SMILEBASIC/console.d b/SMILEBASIC/console.d index a8e2fa3..e11f8bf 100644 --- a/SMILEBASIC/console.d +++ b/SMILEBASIC/console.d @@ -284,7 +284,7 @@ class Console void adjustScreen() { glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); + glPushMatrix(); glScalef(fontWidth / 8f, fontHeight / 8f, 1); } void render() @@ -293,7 +293,7 @@ class Console scope (exit) { glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); + glPopMatrix(); } synchronized(this) {