summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_imm_fixup.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2001-05-11 15:53:06 +0000
committerKeith Whitwell <[email protected]>2001-05-11 15:53:06 +0000
commitc6083e1dc47057b64179079715c5eac8f6010467 (patch)
tree490b5d2c87c5f98b447ae1d387c6fcaf78638970 /src/mesa/tnl/t_imm_fixup.c
parentb8f9980999cb3619b3b60c089e6fa3b780a52292 (diff)
Clean up _tnl_Begin/begin/hard_begin.
Fix some problems with draw_arrays, draw_elements.
Diffstat (limited to 'src/mesa/tnl/t_imm_fixup.c')
-rw-r--r--src/mesa/tnl/t_imm_fixup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/tnl/t_imm_fixup.c b/src/mesa/tnl/t_imm_fixup.c
index 979fc0cdabb..53005852811 100644
--- a/src/mesa/tnl/t_imm_fixup.c
+++ b/src/mesa/tnl/t_imm_fixup.c
@@ -1,4 +1,4 @@
-/* $Id: t_imm_fixup.c,v 1.15 2001/05/11 08:11:31 keithw Exp $ */
+/* $Id: t_imm_fixup.c,v 1.16 2001/05/11 15:53:06 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -290,9 +290,9 @@ void _tnl_fixup_input( GLcontext *ctx, struct immediate *IM )
if (fixup & VERT_RGBA) {
if (orflag & VERT_RGBA)
_tnl_fixup_4f( IM->Color, IM->Flag, start, VERT_RGBA );
-/* else */
-/* fixup_first_4f( IM->Color, IM->Flag, VERT_END_VB, start, */
-/* IM->Color[start] ); */
+ /* No need for else case as the drivers understand stride
+ * zero here. (TODO - propogate this)
+ */
}
if (fixup & VERT_SPEC_RGB) {