From d762b5459be63b46b280a11847c9b1f2a7015e52 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 31 Aug 2009 17:56:41 -0600 Subject: progs/samples: added test/debug code for culling --- progs/samples/select.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'progs') diff --git a/progs/samples/select.c b/progs/samples/select.c index 2c8f333bfa9..31ed93b9e05 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) -- cgit v1.2.3