
please wait
|
|
|
|
|
|
|
|
glBufferData(GL_ARRAY_BUFFER, data.size() * sizeof(T), data.data(), storagePattern);
void*
, not a Voxel
.
glBufferData(GL_ARRAY_BUFFER, data.size() * sizeof(T), data.data(), storagePattern); The third argument is a void*, not a Voxel. |