From 26dd1c120557601593ae1af8b713e4baa3fa2f5a Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Sat, 30 Mar 2019 07:11:08 +0000 Subject: [PATCH] Tweak the polymark sample --- samples/polymark/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/polymark/main.c b/samples/polymark/main.c index 092fb9b..2a671fc 100644 --- a/samples/polymark/main.c +++ b/samples/polymark/main.c @@ -64,6 +64,7 @@ void setup() { glOrtho(0, 640, 0, 480, -100, 100); glMatrixMode(GL_PROJECTION); glLoadIdentity(); + glEnable(GL_CULL_FACE); } void do_frame() { @@ -95,7 +96,7 @@ void do_frame() { time_t start; void switch_tests(int ppf) { printf("Beginning new test: %d polys per frame (%d per second at 60fps)\n", - ppf * 2, ppf * 2 * 60); + ppf * 3, ppf * 3 * 60); avgfps = -1; polycnt = ppf; }