summaryrefslogtreecommitdiffstats
path: root/progs/redbook/polyoff.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-02-12 16:07:47 +0000
committerBrian Paul <[email protected]>2002-02-12 16:07:47 +0000
commit38d042a4ad76ccc30b50571135bbf0fdb912d656 (patch)
tree8d41689e3dc45fee156c87c762dec6a17d9b62df /progs/redbook/polyoff.c
parent69d4ae7bb3bf4a535673cb9ba99d181c12a52e43 (diff)
silence compiler warnings
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 ae7ec0b89bd..2017b4d8eed 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");