Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Fix unbound VBO when updating data.
Previously the VBO in VBO::UpdateData and VBO::UpdateIndices was not unbound. It doesn't created any issue as everyon was binding it's VBO at the same target (else for debug draw which in same case failed). But with the support of VAO the bug was showed since the VAO undo the VBO only bound in it and doesn't set a none VBO oustide. To fix this bug the VBO are set to 0 in these both update data functions.
- Loading branch information