Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Metal] Fix missing baseInstance while still supporting older version…
…s of Metal (fixes #130). The baseInstance versions of drawPrimitives and drawIndexedPrimitives in Metal are only supported in iOS 9.0 or later, while the other versions are supported since iOS 8.0 and later. If a non-zero value of baseInstance is specified, we have to use those draw functions regardless of the instanceCount value.
- Loading branch information