index_t needs to be same size as GL_UNSIGNED_INT
This commit is contained in:
parent
7e14aea49e
commit
5833691cb7
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ public:
|
|||
points
|
||||
};
|
||||
|
||||
using index_t = size_t;
|
||||
using index_t = uint32_t;
|
||||
|
||||
using valuearray_t = std::vector<real_t> ;
|
||||
using indexarray_t = std::vector<index_t> ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue