projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e53d6ab
)
st: remove unneeded "is compressed" check
author
Brian Paul
<brianp@vmware.com>
Thu, 9 Apr 2009 20:58:40 +0000
(14:58 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 9 Apr 2009 21:02:48 +0000
(15:02 -0600)
The format indicates compressed vs. uncompressed.
src/mesa/state_tracker/st_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_texture.c
b/src/mesa/state_tracker/st_texture.c
index 12ceac10910f1bacb0de9d85f4b38daa8eeb7a47..fad513a5563e6d99e5beeaaef01f128e950feca4 100644
(file)
--- a/
src/mesa/state_tracker/st_texture.c
+++ b/
src/mesa/state_tracker/st_texture.c
@@
-127,8
+127,7
@@
st_texture_match_image(const struct pipe_texture *pt,
/* Check if this image's format matches the established texture's format.
*/
- if (st_mesa_format_to_pipe_format(image->TexFormat->MesaFormat) != pt->format ||
- image->IsCompressed != pt->compressed)
+ if (st_mesa_format_to_pipe_format(image->TexFormat->MesaFormat) != pt->format)
return GL_FALSE;
/* Test if this image's size matches what's expected in the