summaryrefslogtreecommitdiff
path: root/progs/redbook/polyoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/polyoff.c')
-rw-r--r--progs/redbook/polyoff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/redbook/polyoff.c b/progs/redbook/polyoff.c
index ae7ec0b89b..2017b4d8ee 100644
--- a/progs/redbook/polyoff.c
+++ b/progs/redbook/polyoff.c
@@ -44,6 +44,7 @@
#include <GL/glut.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#ifdef GL_VERSION_1_1
GLuint list;
@@ -149,7 +150,7 @@ static void Benchmark( float xdiff, float ydiff )
{
int startTime, endTime;
int draws;
- double seconds, fps, triPerSecond;
+ double seconds, fps;
printf("Benchmarking...\n");