vbo: notify a driver that we change buffer offsets, strides, etc.

This commit is contained in:
Marek Olšák 2010-12-27 17:01:25 +01:00
parent d123959ff7
commit 5a01361cea
2 changed files with 2 additions and 0 deletions

View file

@ -245,6 +245,7 @@ vbo_exec_bind_arrays( struct gl_context *ctx )
arrays[attr]._MaxElement = count; /* ??? */
varying_inputs |= 1 << attr;
ctx->NewState |= _NEW_ARRAY;
}
}

View file

@ -202,6 +202,7 @@ static void vbo_bind_vertex_list(struct gl_context *ctx,
buffer_offset += node->attrsz[src] * sizeof(GLfloat);
varying_inputs |= 1<<attr;
ctx->NewState |= _NEW_ARRAY;
}
}