diff options
author | Brian Paul <brianp@vmware.com> | 2009-04-10 08:05:10 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-04-10 08:05:10 -0600 |
commit | 88999de8b70d1e170f5bbcadd07132d382c560cf (patch) | |
tree | 00dd057e510ca5a13743ea3998fe458e46228983 /src/gallium/drivers/nv20 | |
parent | 0a2269703c2398d81d8cde439527f883f6fbc502 (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/gallium/drivers/nv20')
-rw-r--r-- | src/gallium/drivers/nv20/nv20_transfer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv20/nv20_transfer.c b/src/gallium/drivers/nv20/nv20_transfer.c index e5255296aa..5018995596 100644 --- a/src/gallium/drivers/nv20/nv20_transfer.c +++ b/src/gallium/drivers/nv20/nv20_transfer.c @@ -43,7 +43,6 @@ nv20_compatible_transfer_tex(struct pipe_texture *pt, unsigned level, template->nblocksx[0] = pt->nblocksx[level]; template->nblocksy[0] = pt->nblocksx[level]; template->last_level = 0; - template->compressed = pt->compressed; template->nr_samples = pt->nr_samples; template->tex_usage = PIPE_TEXTURE_USAGE_DYNAMIC | |