diff options
author | Brian Paul <[email protected]> | 2011-04-07 12:07:32 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-04-07 12:20:06 +0100 |
commit | 204991bf5d29caa3fa54df9e4f6898faa73752cf (patch) | |
tree | 9bd1011d1ecf1fb498ae52ab12f9fdc68f3e9d84 /src/mesa/vbo/vbo_save_draw.c | |
parent | 23d75936a72b9a9b9e1d04a901a86a75d93dbffb (diff) |
mesa: Update _ElementSize.
Diffstat (limited to 'src/mesa/vbo/vbo_save_draw.c')
-rw-r--r-- | src/mesa/vbo/vbo_save_draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c index 634a6d3f84b..26f1d96de33 100644 --- a/src/mesa/vbo/vbo_save_draw.c +++ b/src/mesa/vbo/vbo_save_draw.c @@ -193,6 +193,7 @@ static void vbo_bind_vertex_list(struct gl_context *ctx, arrays[attr].Type = GL_FLOAT; arrays[attr].Format = GL_RGBA; arrays[attr].Enabled = 1; + arrays[attr]._ElementSize = arrays[attr].Size * sizeof(GLfloat); _mesa_reference_buffer_object(ctx, &arrays[attr].BufferObj, node->vertex_store->bufferobj); |