]> code.bitgloo.com Git - clyne/gamedev.git/commitdiff
Fixed bugs
authordrumsetmonkey <abelleisle@roadrunner.com>
Wed, 30 Sep 2015 12:08:18 +0000 (08:08 -0400)
committerdrumsetmonkey <abelleisle@roadrunner.com>
Wed, 30 Sep 2015 12:08:18 +0000 (08:08 -0400)
src/main.cpp

index 1e3bc103ddd83bf038d99a9f5138943e181e0d3b..d5fe3fd1f3b892a1c6583368983ca41f458da8e7 100644 (file)
@@ -154,7 +154,6 @@ void render(){
        glMatrixMode(GL_PROJECTION);                                    //set the matrix mode as projection so we can set the ortho size and the camera settings later on
        glPushMatrix();                                                                 //push the  matrix to the top of the matrix stack
        glLoadIdentity();                                                               //replace the entire matrix stack with the updated GL_PROJECTION mode
-typedef struct { char* first; char
        glOrtho(player->loc.x-SCREEN_WIDTH/2,player->loc.x+SCREEN_WIDTH/2,0,SCREEN_HEIGHT,-1,1);
        glMatrixMode(GL_MODELVIEW);                                     //set the matrix to modelview so we can draw objects
        glPushMatrix();                                                                 //push the  matrix to the top of the matrix stack