summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2010-02-02 22:50:39 -0800
committerJack Palevich <jackpal@google.com>2010-02-02 22:50:39 -0800
commit019fe73ddbf52edd1819e1d85a0b242ebccc7fc3 (patch)
tree1bd55daf010eb676d77e014b7ede5355366566a7 /libs/rs/rsg_ScriptJavaClass.cpp
parentb0f324d4a95907f8e9332bcd2733e8287a1922eb (diff)
Fix ETC1 texture decoding.
etc1_decode_image requires the stride argument to be in bytes, but the surface->stride field is in pixels. Convert by multiplying by pixel size.
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions