summaryrefslogtreecommitdiffstats
path: root/sdl/pyramid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdl/pyramid.c')
-rw-r--r--sdl/pyramid.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sdl/pyramid.c b/sdl/pyramid.c
index a3303b8..d03b4ce 100644
--- a/sdl/pyramid.c
+++ b/sdl/pyramid.c
@@ -199,7 +199,7 @@ static void render(void)
/* save the matrix state and do the rotations */
glPushMatrix();
/* apply camera transform, and draw the ground */
- glframe_apply_camera_transform(&p.camera);
+ glframe_apply_camera_transform(&p.camera, 0);
glColor3ub(255, 0, 255);
glCallList(p.ground_list);
@@ -242,6 +242,9 @@ int main(int argc, char **argv)
render();
fps_control(startclock);
+
+ /* need some sort of a timer to trigger this */
+ /* gl_frame_normalize(&p.camera); */
}
platform_destroy();