Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/opengl/gl_index_buffer.hh
| Context not available. | |||||
| { | { | ||||
| additional_vertex_offset += index_start_; | additional_vertex_offset += index_start_; | ||||
| if (index_type_ == GPU_INDEX_U32) { | if (index_type_ == GPU_INDEX_U32) { | ||||
| return (GLuint *)0 + additional_vertex_offset; | return reinterpret_cast<void *>(static_cast<intptr_t>(additional_vertex_offset) * | ||||
| sizeof(GLuint)); | |||||
| } | } | ||||
| return (GLushort *)0 + additional_vertex_offset; | return reinterpret_cast<void *>(static_cast<intptr_t>(additional_vertex_offset) * | ||||
| sizeof(GLushort)); | |||||
| } | } | ||||
| GLuint restart_index() const | GLuint restart_index() const | ||||
| Context not available. | |||||