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:
ef514b8
)
REFINE_LOOP: actually do loop, as this DOES do something even for simple weight functions
author
Rudolf Polzer
<divverent@xonotic.org>
Fri, 15 Jul 2011 22:38:31 +0000
(
00:38
+0200)
committer
Rudolf Polzer
<divverent@xonotic.org>
Fri, 15 Jul 2011 22:38:31 +0000
(
00:38
+0200)
s2tc_compressor.cpp
patch
|
blob
|
history
diff --git
a/s2tc_compressor.cpp
b/s2tc_compressor.cpp
index
72f46d6
..
897aea4
100644
(file)
--- a/
s2tc_compressor.cpp
+++ b/
s2tc_compressor.cpp
@@
-866,10
+866,9
@@
namespace
{
case REFINE_NEVER:
return s2tc_encode_block<dxt, ColorDist, mode, REFINE_NEVER>;
- case REFINE_CHECK:
- if(need_refine_check<ColorDist>())
- return s2tc_encode_block<dxt, ColorDist, mode, REFINE_CHECK>;
case REFINE_LOOP:
+ return s2tc_encode_block<dxt, ColorDist, mode, REFINE_LOOP>;
+ case REFINE_CHECK:
if(need_refine_check<ColorDist>())
return s2tc_encode_block<dxt, ColorDist, mode, REFINE_CHECK>;
default: