summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/utils.cpp
diff options
context:
space:
mode:
author Krzysztof Kosiński <krzysio@google.com> 2019-01-02 16:27:05 -0800
committer Krzysztof Kosiński <krzysio@google.com> 2019-01-02 16:27:05 -0800
commitc4b9ce02d0a230acf8b4acbcf1d7cde8ca467c8c (patch)
tree83a299416a938ace97e68f89d954f899639a1192 /cmds/dumpstate/utils.cpp
parent7b2e64b9e4a7b143f7b29bc5a8c0334f3741bbd9 (diff)
Fix AHardwareBuffer_isSupported for cube maps.
Cube maps need a multiple of 6 layers, but the function attempted a trial allocation with 1 or 2 layers instead, which cannot succeed. Bug: 121285176 Bug: 122267389 Test: Builds successfully. Change-Id: Id4cf26359ad2884d597c6571501b452b930fa4fa
Diffstat (limited to 'cmds/dumpstate/utils.cpp')
0 files changed, 0 insertions, 0 deletions