projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9ad95d
)
r300: UTIL_FORMAT_LAYOUT_COMPRESSED -> UTIL_FORMAT_LAYOUT_S3TC.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 29 Mar 2010 16:30:09 +0000
(17:30 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 29 Mar 2010 16:31:34 +0000
(17:31 +0100)
src/gallium/drivers/r300/r300_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_texture.c
b/src/gallium/drivers/r300/r300_texture.c
index 7c86bdb4bdc9b6c8f694134ae625c2ad55903e2e..22ccadfe3ddf09008485c6d27be4494db8508439 100644
(file)
--- a/
src/gallium/drivers/r300/r300_texture.c
+++ b/
src/gallium/drivers/r300/r300_texture.c
@@
-159,7
+159,7
@@
static uint32_t r300_translate_texformat(enum pipe_format format)
}
/* Compressed formats. */
- if (desc->layout == UTIL_FORMAT_LAYOUT_
COMPRESSED
) {
+ if (desc->layout == UTIL_FORMAT_LAYOUT_
S3TC
) {
switch (format) {
case PIPE_FORMAT_DXT1_RGB:
case PIPE_FORMAT_DXT1_RGBA: