summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_context.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-09-21 23:19:40 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-09-21 23:19:40 +0000
commit57d705d5a939180bd992cad2f24d95c329b5b28c (patch)
tree182bed6c0d721b7d71a4e6ecb28c90905c4f8f3a /src/mesa/swrast/s_context.h
parentc7d0fe1c4bbd504e8fa043145f38c7b1876ff8bb (diff)
remove rgb[] array from span_arrays_struct - was only used in a few places
Diffstat (limited to 'src/mesa/swrast/s_context.h')
-rw-r--r--src/mesa/swrast/s_context.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h
index 3c5a4c3222..76f08b007e 100644
--- a/src/mesa/swrast/s_context.h
+++ b/src/mesa/swrast/s_context.h
@@ -1,6 +1,6 @@
/*
* Mesa 3-D graphics library
- * Version: 6.5
+ * Version: 6.5.2
*
* Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
*
@@ -79,11 +79,9 @@
* These arrays are separated out of sw_span to conserve memory.
*/
struct span_arrays {
- /* XXX the next three fields could go into a union */
- GLchan rgb[MAX_WIDTH][3];
GLchan rgba[MAX_WIDTH][4];
- GLuint index[MAX_WIDTH];
GLchan spec[MAX_WIDTH][4]; /* specular color */
+ GLuint index[MAX_WIDTH];
GLint x[MAX_WIDTH]; /**< X/Y used for point/line rendering only */
GLint y[MAX_WIDTH]; /**< X/Y used for point/line rendering only */
GLuint z[MAX_WIDTH];