summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_cliptmp.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2000-12-27 21:49:40 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2000-12-27 21:49:40 +0000
commit93259cdfa10cfd484323b88cf00c9e8422c06bc5 (patch)
treefd9df057ff91d03d8936dbfb8e35307b4a686d1b /src/mesa/tnl/t_vb_cliptmp.h
parent719344b23ed7b1947af1db9281389f3fc74c3fc5 (diff)
fix sproingies bug
Diffstat (limited to 'src/mesa/tnl/t_vb_cliptmp.h')
-rw-r--r--src/mesa/tnl/t_vb_cliptmp.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/mesa/tnl/t_vb_cliptmp.h b/src/mesa/tnl/t_vb_cliptmp.h
index 34f0a4f1e1..34acfcfe55 100644
--- a/src/mesa/tnl/t_vb_cliptmp.h
+++ b/src/mesa/tnl/t_vb_cliptmp.h
@@ -1,4 +1,4 @@
-/* $Id: t_vb_cliptmp.h,v 1.2 2000/12/27 19:57:37 keithw Exp $ */
+/* $Id: t_vb_cliptmp.h,v 1.3 2000/12/27 21:49:40 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -132,19 +132,11 @@ static GLuint TAG(userclip_polygon)( GLcontext *ctx,
*/
GLfloat t = dp / (dp - dpPrev);
newvert = interp( ctx, t, idx, idxPrev, GL_TRUE );
-/* fprintf(stderr,"Goint out: in: %d/%d out: %d/%d new: %d/%d\n", */
-/* idxPrev, VB->EdgeFlagPtr->data[idxPrev], */
-/* idx, VB->EdgeFlagPtr->data[idx], */
-/* newvert, VB->EdgeFlagPtr->data[newvert]); */
} else {
/* Coming back in.
*/
GLfloat t = dpPrev / (dpPrev - dp);
newvert = interp( ctx, t, idxPrev, idx, GL_FALSE );
-/* fprintf(stderr,"coming in: in: %d/%d out: %d/%d new: %d/%d\n", */
-/* idx, VB->EdgeFlagPtr->data[idx], */
-/* idxPrev, VB->EdgeFlagPtr->data[idxPrev], */
-/* newvert, VB->EdgeFlagPtr->data[newvert]); */
}
clipmask[newvert] = 0;
outlist[outcount++] = newvert;
@@ -173,10 +165,6 @@ static GLuint TAG(userclip_polygon)( GLcontext *ctx,
vlist[i] = inlist[i];
}
-/* fprintf(stderr, "%s: finally:\n", __FUNCTION__); */
-/* for (i = 0 ; i < n ; i++) */
-/* fprintf(stderr, "%d: %d\n", vlist[i], VB->EdgeFlagPtr->data[vlist[i]]); */
-
return n;
}