mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 20:40:09 +01:00
progs/samples: added test/debug code for culling
This commit is contained in:
parent
a1d3855fb0
commit
d762b5459b
1 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue