diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-09-30 08:08:18 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-09-30 08:08:18 -0400 |
commit | f39124d141ca3faaa63dd30ba87905837ae47b48 (patch) | |
tree | c838b63b92a502dfb58e10340b5386ab31029526 | |
parent | 3994d87991496a140edbb7d67ddbebb9f82f3061 (diff) |
Fixed bugs
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1e3bc10..d5fe3fd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 |