[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/games/astrododge/src
From:       Rivo Laks <rivolaks () hot ! ee>
Date:       2009-08-15 10:08:34
Message-ID: 1250330914.348590.15695.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1011630 by rivol:

Remove another glu dependancy

 M  +2 -1      glview.cpp  


--- trunk/playground/games/astrododge/src/glview.cpp #1011629:1011630
@@ -92,7 +92,8 @@
 
     glMatrixMode(GL_PROJECTION);
     glLoadIdentity();
-    gluOrtho2D(0, w, h, 0);
+    // Same as  gluOrtho2D(0, w, h, 0);
+    glOrtho(0, w, h, 0, -1.0, 1.0);
     glMatrixMode(GL_MODELVIEW);
     glLoadIdentity();
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic