From: Brian Paul Date: Mon, 31 Aug 2009 23:56:41 +0000 (-0600) Subject: progs/samples: added test/debug code for culling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d762b5459be63b46b280a11847c9b1f2a7015e52;p=mesa.git progs/samples: added test/debug code for culling --- 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)