diff options
author | sergeyv <sergeyv@google.com> | 2016-06-01 14:53:35 -0700 |
---|---|---|
committer | Sergei Vasilinetc <sergeyv@google.com> | 2016-06-01 23:55:32 +0000 |
commit | ab3f8c2e3277af88935c8fa3bb7a36470d2b0116 (patch) | |
tree | 5a17f294461e88383a1b11b810c17a824605dc5d /docs/html/sdk/api_diff/24/changes | |
parent | 760b5571582056e756d9fb1bc366247bc26a8e54 (diff) |
HWUI: do not call glCopyTexSubImage2D on empty area.
Previous check .isEmpty() is not sufficient, because getWidth() may have
value 0.5, so technically it is not empty, but when this size is passed
to texture calls it is converted to uint_32 and it becomes zero.
bug:28941093
Change-Id: Ia7c2bf0340466d5376f235fb5da54ad2ddfa0a03
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions