commit | d3e5f4e5df102f9b7ac7c32426f3d78e68ca2898 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Dec 12 11:44:32 2011 -0800 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Dec 12 11:44:32 2011 -0800 |
tree | 8cef08e323746a2ae01800c70e083ad67d7fcb9a | |
parent | f074f7e101ad23a3d80ffc15c68e66ea1e1466c9 [diff] | |
parent | b634cd3f138bf4df6895cb91edf0aefd120e5521 [diff] |
Merge "Free up resources by deleting shaders early on"
diff --git a/opengl/libs/ETC1/etc1.cpp b/opengl/libs/ETC1/etc1.cpp index 5ed2c3c..97d1085 100644 --- a/opengl/libs/ETC1/etc1.cpp +++ b/opengl/libs/ETC1/etc1.cpp
@@ -149,13 +149,13 @@ static inline int convert8To4(int b) { int c = b & 0xff; - return divideBy255(b * 15); + return divideBy255(c * 15); } static inline int convert8To5(int b) { int c = b & 0xff; - return divideBy255(b * 31); + return divideBy255(c * 31); } static