diff options
author | Mathias Froehlich <[email protected]> | 2011-08-03 08:10:52 +0200 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2011-10-22 13:02:35 +0200 |
commit | 409748ac0b92aacae6ad9c2bcedca4fef8986eea (patch) | |
tree | 0b135e8476fde830916b678505f53e326458341b /src/mesa/vbo/vbo_exec_array.c | |
parent | 7986e4c5a9db24f840af31458bcc254fa52dbb60 (diff) |
vbo: Clean up unused variables in the vbo module.
Remove some unused or unused but set variables
from the vbo module.
Diffstat (limited to 'src/mesa/vbo/vbo_exec_array.c')
-rw-r--r-- | src/mesa/vbo/vbo_exec_array.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index 4e4f2c94798..7023380a1e7 100644 --- a/src/mesa/vbo/vbo_exec_array.c +++ b/src/mesa/vbo/vbo_exec_array.c @@ -422,8 +422,6 @@ bind_array_obj(struct gl_context *ctx) assert(i < Elements(exec->array.generic_array)); exec->array.generic_array[i] = &arrayObj->VertexAttrib[i]; } - - exec->array.array_obj = arrayObj->Name; } @@ -444,10 +442,7 @@ recalculate_input_bindings(struct gl_context *ctx) GLbitfield const_inputs = 0x0; GLuint i; - exec->array.program_mode = get_program_mode(ctx); - exec->array.enabled_flags = ctx->Array.ArrayObj->_Enabled; - - switch (exec->array.program_mode) { + switch (get_program_mode(ctx)) { case VP_NONE: /* When no vertex program is active (or the vertex program is generated * from fixed-function state). We put the material values into the |