mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 12:24:01 +02:00
One more review comment
This commit is contained in:
parent
2bc8191fa6
commit
018196a070
1 changed files with 1 additions and 3 deletions
|
@ -406,9 +406,7 @@ void GLBackend::do_drawInstanced(Batch& batch, size_t paramOffset) {
|
|||
|
||||
void glbackend_glDrawElementsInstancedBaseVertexBaseInstance(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex, GLuint baseinstance) {
|
||||
#if (GPU_INPUT_PROFILE == GPU_CORE_43)
|
||||
//glDrawElementsInstancedBaseVertexBaseInstance(mode, count, type, indices, primcount, basevertex, baseinstance);
|
||||
glDrawElementsInstanced(mode, count, type, indices, primcount);
|
||||
|
||||
glDrawElementsInstancedBaseVertexBaseInstance(mode, count, type, indices, primcount, basevertex, baseinstance);
|
||||
#else
|
||||
glDrawElementsInstanced(mode, count, type, indices, primcount);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue