[HWUI] The IBO state should be reset after glDeleteBuffers.
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
Loading
Please register or sign in to comment