diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-05-05 18:05:42 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-05-05 18:05:42 -0700 |
commit | 642819024e8bef56119d37a34394bf85397d777c (patch) | |
tree | 2b19918faeb5508cbb220d788b4a88cec113e9aa /tests/sdl_ogl.c | |
parent | d24edd5719c6156fc3223cf4cd4e4e2b9fc3a171 (diff) |
refactor gl code for closure compiler, and add more testing
Diffstat (limited to 'tests/sdl_ogl.c')
-rw-r--r-- | tests/sdl_ogl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sdl_ogl.c b/tests/sdl_ogl.c index 2165ed64..570a0e10 100644 --- a/tests/sdl_ogl.c +++ b/tests/sdl_ogl.c @@ -58,6 +58,7 @@ int main(int argc, char *argv[]) glViewport( 0, 0, 640, 480 ); glMatrixMode( GL_PROJECTION ); + glPushMatrix(); // just for testing glLoadIdentity(); glOrtho( 0, 640, 480, 0, -1, 1 ); |