OSDN Git Service
(root)
/
android-x86
/
external-s2tc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128fffa
)
Make the W0AVG mode available via S2TC_COLORDIST_MODE
author
divVerent
<divVerent@xonotic.org>
Thu, 13 Nov 2014 09:09:22 +0000
(10:09 +0100)
committer
divVerent
<divVerent@xonotic.org>
Thu, 13 Nov 2014 09:09:22 +0000
(10:09 +0100)
s2tc_libtxc_dxtn.cpp
patch
|
blob
|
history
diff --git
a/s2tc_libtxc_dxtn.cpp
b/s2tc_libtxc_dxtn.cpp
index
e0b8fbb
..
077270d
100644
(file)
--- a/
s2tc_libtxc_dxtn.cpp
+++ b/
s2tc_libtxc_dxtn.cpp
@@
-187,6
+187,8
@@
void tx_compress_dxtn(GLint srccomps, GLint width, GLint height,
cd = AVG;
else if(!strcasecmp(v, "WAVG"))
cd = WAVG;
+ else if(!strcasecmp(v, "W0AVG"))
+ cd = W0AVG;
else if(!strcasecmp(v, "NORMALMAP"))
cd = NORMALMAP;
else