summaryrefslogtreecommitdiff
path: root/progs/samples
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-08-31 17:56:41 -0600
committerBrian Paul <brianp@vmware.com>2009-08-31 19:34:47 -0600
commitd762b5459be63b46b280a11847c9b1f2a7015e52 (patch)
tree4d0afb43a3cd7a81a4248bced8e54a8c1fe32699 /progs/samples
parenta1d3855fb0c3969a32825d0b899076917d5ccce6 (diff)
progs/samples: added test/debug code for culling
Diffstat (limited to 'progs/samples')
-rw-r--r--progs/samples/select.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/samples/select.c b/progs/samples/select.c
index 2c8f333bfa..31ed93b9e0 100644
--- a/progs/samples/select.c
+++ b/progs/samples/select.c
@@ -92,6 +92,12 @@ static void Init(void)
numObjects = 10;
InitObjects(numObjects);
glGetIntegerv(GL_VIEWPORT, vp);
+
+#if 0 /* debug - test culling */
+ glCullFace(GL_BACK);
+ glFrontFace(GL_CW);
+ glEnable(GL_CULL_FACE);
+#endif
}
static void Reshape(int width, int height)