glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glFrustum(-1.0, 1.0, -h, h, 5.0, 60.0);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glFrustum(-1.0, 1.0, -h, h, 5.0, 60.0);
printf("%d frames in %3.1f seconds = %6.3f FPS\n", frames, seconds, fps);
}
printf("%d frames in %3.1f seconds = %6.3f FPS\n", frames, seconds, fps);
}