(no commit message)
authorAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 01:54:40 +0000 (09:54 +0800)
committerAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 01:54:40 +0000 (09:54 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 9f8d21f..0a186f8 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -500,7 +500,7 @@ void makeMenu() {
  */\r
 void windowReshape(int w, int h) {\r
   glViewport(0, 0, (GLsizei) w, (GLsizei) h);\r
  */\r
 void windowReshape(int w, int h) {\r
   glViewport(0, 0, (GLsizei) w, (GLsizei) h);\r
-  /*glMatrixMode(GL_PROJECTION);\r
+  glMatrixMode(GL_PROJECTION);\r
   glLoadIdentity();\r
   if (w <= h) \r
     glOrtho(near, far, near*(GLfloat)h/(GLfloat)w,\r
   glLoadIdentity();\r
   if (w <= h) \r
     glOrtho(near, far, near*(GLfloat)h/(GLfloat)w,\r
@@ -509,7 +509,7 @@ void windowReshape(int w, int h) {
     glOrtho(near*(GLfloat)w/(GLfloat)h,\r
              far*(GLfloat)w/(GLfloat)h, near, far, near, far);\r
    glMatrixMode(GL_MODELVIEW); \r
     glOrtho(near*(GLfloat)w/(GLfloat)h,\r
              far*(GLfloat)w/(GLfloat)h, near, far, near, far);\r
    glMatrixMode(GL_MODELVIEW); \r
-   glLoadIdentity();*/\r
+   glLoadIdentity();\r
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r

UCC git Repository :: git.ucc.asn.au