Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use
std::vector::data()
when setting GL data
MSVC in Debug will throw "vector subscript out of range" error when calling `std::vector::operator[]` on empty vector. This will fail unit tests. Instead use `std::vector::data()` to retrieve data pointer.
- Loading branch information