mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
vbo: fix incorrect pointer
This commit is contained in:
parent
8f9ee06925
commit
855374a76a
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ vbo_get_minmax_index(GLcontext *ctx,
|
|||
|
||||
switch (ib->type) {
|
||||
case GL_UNSIGNED_INT: {
|
||||
const GLuint *ui_indices = (const GLuint *)ib->ptr;
|
||||
const GLuint *ui_indices = (const GLuint *)indices;
|
||||
GLuint max_ui = ui_indices[count-1];
|
||||
GLuint min_ui = ui_indices[0];
|
||||
for (i = 0; i < count; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue