Lines Matching refs:maxIndex
196 void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex, std::vector<GLsizei>* restartIndices)
198 *maxIndex = 0;
209 if(*maxIndex < indices[i]) *maxIndex = indices[i];
213 void computeRange(GLenum type, const void *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex, std::vector<GLsizei>* restartIndices)
217 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex, restartIndices);
221 computeRange(static_cast<const GLuint*>(indices), count, minIndex, maxIndex, restartIndices);
225 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex, restartIndices);
293 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex, restartIndices);
354 if(translated->minIndex < start || translated->maxIndex > end)
356 ERR("glDrawRangeElements: out of range access. Range provided: [%d -> %d]. Range used: [%d -> %d].", start, end, translated->minIndex, translated->maxIndex);