BufferAlias<ELEMENT_ARRAY_BUFFER> alias(*ibuf);
Bind bind_ibuf(alias, true);
- glDrawRangeElements(prim_type, min_index, max_index, size(), data_type, (void *)ibuf_offset);
+ glDrawRangeElements(prim_type, min_index, max_index, size(), data_type, reinterpret_cast<void *>(ibuf_offset));
}
else
glDrawRangeElements(prim_type, min_index, max_index, size(), data_type, &data[0]);