diff options
author | Brian Paul <[email protected]> | 2009-08-31 17:56:41 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-08-31 19:34:47 -0600 |
commit | d762b5459be63b46b280a11847c9b1f2a7015e52 (patch) | |
tree | 4d0afb43a3cd7a81a4248bced8e54a8c1fe32699 /progs/samples/select.c | |
parent | a1d3855fb0c3969a32825d0b899076917d5ccce6 (diff) |
progs/samples: added test/debug code for culling
Diffstat (limited to 'progs/samples/select.c')
-rw-r--r-- | progs/samples/select.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) |