summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-10-26 15:26:27 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-10-26 15:26:27 +0000
commit12dbb90d4aa366d08aa65560455122d94f2ac322 (patch)
tree5fcd9e877dfd7826322e71b8b85d3feccc2dcbc4
parent0bf528485016c7f120d96022df759b8eb9e04beb (diff)
added a glFinish() call
-rw-r--r--progs/demos/trispd.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/progs/demos/trispd.c b/progs/demos/trispd.c
index a836c9d80ff..3c3bd8ba695 100644
--- a/progs/demos/trispd.c
+++ b/progs/demos/trispd.c
@@ -1,4 +1,4 @@
-/* $Id: trispd.c,v 1.1 1999/08/19 00:55:40 jtg Exp $ */
+/* $Id: trispd.c,v 1.1.1.1.6.1 2000/10/26 15:26:27 brianp Exp $ */
/*
* Simple GLUT program to measure triangle strip rendering speed.
@@ -7,8 +7,11 @@
/*
* $Log: trispd.c,v $
- * Revision 1.1 1999/08/19 00:55:40 jtg
- * Initial revision
+ * Revision 1.1.1.1.6.1 2000/10/26 15:26:27 brianp
+ * added a glFinish() call
+ *
+ * Revision 1.1.1.1 1999/08/19 00:55:40 jtg
+ * Imported sources
*
* Revision 3.4 1999/03/28 18:24:37 brianp
* minor clean-up
@@ -107,6 +110,7 @@ static void Display( void )
}
}
}
+ glFinish();
t1 = glutGet(GLUT_ELAPSED_TIME) * 0.001;
if (t1-t0 < MinPeriod) {