summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/rastpos.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-02-24 19:29:53 -0800
committerIan Romanick <ian.d.romanick@intel.com>2010-03-03 12:37:05 -0800
commit06ceba0a7cab39e770a68b3ae8b8b4f17c0347d2 (patch)
tree61a36d89fe0e702d674e749c6f7a1e69cf2a78bb /src/mesa/main/rastpos.c
parent5c52b4292ff1aa37f38b20f33ff1642e1c20f894 (diff)
downloadexternal_mesa3d-06ceba0a7cab39e770a68b3ae8b8b4f17c0347d2.zip
external_mesa3d-06ceba0a7cab39e770a68b3ae8b8b4f17c0347d2.tar.gz
external_mesa3d-06ceba0a7cab39e770a68b3ae8b8b4f17c0347d2.tar.bz2
mesa: Remove unused RasterIndex field
With the preceeding changes, gl_current_attrib::RasterIndex is not used. Remove it. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/main/rastpos.c')
-rw-r--r--src/mesa/main/rastpos.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c
index 03ff3b6..75c67f2 100644
--- a/src/mesa/main/rastpos.c
+++ b/src/mesa/main/rastpos.c
@@ -556,7 +556,6 @@ void _mesa_init_rastpos( GLcontext * ctx )
ctx->Current.RasterDistance = 0.0;
ASSIGN_4V( ctx->Current.RasterColor, 1.0, 1.0, 1.0, 1.0 );
ASSIGN_4V( ctx->Current.RasterSecondaryColor, 0.0, 0.0, 0.0, 1.0 );
- ctx->Current.RasterIndex = 1.0;
for (i = 0; i < Elements(ctx->Current.RasterTexCoords); i++)
ASSIGN_4V( ctx->Current.RasterTexCoords[i], 0.0, 0.0, 0.0, 1.0 );
ctx->Current.RasterPosValid = GL_TRUE;