Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c4b9ce02 authored by Krzysztof Kosiński's avatar Krzysztof Kosiński
Browse files

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
parent 7b2e64b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment