From e204dbdc0e5925daec44037f7b26c9e5984cfdb3 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Thu, 20 Oct 2011 09:54:40 +0800 Subject: [PATCH] --- scene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene.c b/scene.c index 9f8d21f..0a186f8 100644 --- a/scene.c +++ b/scene.c @@ -500,7 +500,7 @@ void makeMenu() { */ void windowReshape(int w, int h) { glViewport(0, 0, (GLsizei) w, (GLsizei) h); - /*glMatrixMode(GL_PROJECTION); + glMatrixMode(GL_PROJECTION); glLoadIdentity(); if (w <= h) glOrtho(near, far, near*(GLfloat)h/(GLfloat)w, @@ -509,7 +509,7 @@ void windowReshape(int w, int h) { glOrtho(near*(GLfloat)w/(GLfloat)h, far*(GLfloat)w/(GLfloat)h, near, far, near, far); glMatrixMode(GL_MODELVIEW); - glLoadIdentity();*/ + glLoadIdentity(); } /** -- 2.20.1