projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1d3855
)
progs/samples: added test/debug code for culling
author
Brian Paul
<brianp@vmware.com>
Mon, 31 Aug 2009 23:56:41 +0000
(17:56 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 1 Sep 2009 01:34:47 +0000
(19:34 -0600)
progs/samples/select.c
patch
|
blob
|
history
diff --git
a/progs/samples/select.c
b/progs/samples/select.c
index 2c8f333bfa95ac35131b5df66df2848f8bdd1213..31ed93b9e05d55b9c0dc3b235147a3f3731a966b 100644
(file)
--- 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)