mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
arbfp: initialize arbfp_program_state->next_constant_id
When allocating a new ArbfpProgramState struct when starting code generation we weren't initializing arbfp_program_state->next_constant_id to 0.
This commit is contained in:
parent
ea8c9f3b27
commit
ba95ee66a3
@ -333,6 +333,7 @@ _cogl_pipeline_backend_arbfp_start (CoglPipeline *pipeline,
|
||||
arbfp_program_state->unit_state[i].sampled = FALSE;
|
||||
arbfp_program_state->unit_state[i].dirty_combine_constant = FALSE;
|
||||
}
|
||||
arbfp_program_state->next_constant_id = 0;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user