summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-10 08:05:10 -0600
committerBrian Paul <[email protected]>2009-04-10 08:05:10 -0600
commit88999de8b70d1e170f5bbcadd07132d382c560cf (patch)
tree00dd057e510ca5a13743ea3998fe458e46228983 /src/mesa/state_tracker
parent0a2269703c2398d81d8cde439527f883f6fbc502 (diff)
gallium: remove pipe_texture::compressed field
The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format).
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_texture.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c
index fad513a5563..19eb7e2f69c 100644
--- a/src/mesa/state_tracker/st_texture.c
+++ b/src/mesa/state_tracker/st_texture.c
@@ -100,7 +100,6 @@ st_texture_create(struct st_context *st,
pt.width[0] = width0;
pt.height[0] = height0;
pt.depth[0] = depth0;
- pt.compressed = pf_is_compressed(format);
pf_get_block(format, &pt.block);
pt.tex_usage = usage;