summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pixel.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-02-09 22:15:45 -0700
committerBrian Paul <[email protected]>2012-02-10 08:06:57 -0700
commit3e59fb570ae82d988a90d341d1ffdd5c3ece1aa4 (patch)
treef46ded71d7ce02d3883a6cd2d42e722c64eb3ae5 /src/mesa/main/pixel.c
parent80fd3d2ca8ae96ebad55c49ed499602e4a669b5a (diff)
mesa: remove unused gl_pixelmap::Map8[] array
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/pixel.c')
-rw-r--r--src/mesa/main/pixel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/pixel.c b/src/mesa/main/pixel.c
index e73c5a49a4a..450c936b745 100644
--- a/src/mesa/main/pixel.c
+++ b/src/mesa/main/pixel.c
@@ -137,7 +137,6 @@ store_pixelmap(struct gl_context *ctx, GLenum map, GLsizei mapsize,
for (i = 0; i < mapsize; i++) {
GLfloat val = CLAMP(values[i], 0.0F, 1.0F);
pm->Map[i] = val;
- pm->Map8[i] = (GLint) (val * 255.0F);
}
}
}
@@ -683,7 +682,6 @@ init_pixelmap(struct gl_pixelmap *map)
{
map->Size = 1;
map->Map[0] = 0.0;
- map->Map8[0] = 0;
}