diff options
-rw-r--r-- | wimmel_gl.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/wimmel_gl.c b/wimmel_gl.c index cc08e02..2a42109 100644 --- a/wimmel_gl.c +++ b/wimmel_gl.c @@ -143,16 +143,6 @@ draw(void) }; float search[4]; int barrier = mwidth * mheight / 2; - static int frames = 0; - static int last_time = 0; - int elapsed = glutGet(GLUT_ELAPSED_TIME); - - ++frames; - if ((elapsed - last_time) >= 5000) { - printf("fps: %d\n", frames / 5); - last_time = elapsed; - frames = 0; - } glClear(GL_COLOR_BUFFER_BIT); |