libs/hwui/Caches.cpp
100644 → 100755
+1
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Symptom: Can't bind to correct IBO. Root Cause: If a buffer object that is currently bound is deleted by glDeleteBuffers, the binding reverts to 0. This may cause bindIndicesBuffer doesn't work if mCurrentIndicesBuffer not reset to 0. Solution: Reset mCurrentIndicesBuffer to 0 after glDeleteBuffers. Change-Id: Iecd3ded76d876fcadde89a8893bab5f75b1eb312