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:
3475c35
)
Fix crash with ETQW and Quake 4
author
Laurent Carlier
<lordheavym@gmail.com>
Mon, 17 Dec 2012 08:59:52 +0000
(09:59 +0100)
committer
Rudolf Polzer
<divverent@xonotic.org>
Mon, 17 Dec 2012 08:59:52 +0000
(09:59 +0100)
s2tc_algorithm.cpp
patch
|
blob
|
history
diff --git
a/s2tc_algorithm.cpp
b/s2tc_algorithm.cpp
index
7b7bccd
..
57bb293
100644
(file)
--- a/
s2tc_algorithm.cpp
+++ b/
s2tc_algorithm.cpp
@@
-1309,8
+1309,10
@@
void rgb565_image(unsigned char *out, const unsigned char *rgba, int w, int h, i
{
case 3:
rgb565_image<3>(out, rgba, w, h, alphabits, dither);
+ break;
case 4:
default:
rgb565_image<4>(out, rgba, w, h, alphabits, dither);
+ break;
}
}