summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2010-03-04 16:26:06 -0800
committerChristopher Tate <ctate@google.com>2010-03-04 16:32:32 -0800
commitb776d5be97f64d90e5d28e46325a1c6ecff3179f (patch)
treef471ba094886bdce769b231b88dd57fb5224618c /opengl/java/android/opengl/Texture.java
parent5321aef4a22daef6ed01ed48d936cdd82f2e38b7 (diff)
Calculate bitmask array sizes correctly in the EventHub
We've gotten lucky to date: the previous calculation of bitmask array sizes, (maxval+1)/8 only works properly when 'maxval' is one less than a multiple of 8. Fortunately, this has either been the case for us, or there has been sufficient 'unused' space at the end of the defined max value range that we haven't wound up overreading/overwriting the allocated buffers. Change-Id: I563a93a86644ab9f19489565e06c28e06bb53abc
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions