projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bac600b
)
arbfp: initialize arbfp_program_state->next_constant_id
author
Robert Bragg
<robert@linux.intel.com>
Wed, 8 Dec 2010 16:27:57 +0000
(16:27 +0000)
committer
Robert Bragg
<robert@linux.intel.com>
Wed, 8 Dec 2010 18:35:02 +0000
(18:35 +0000)
When allocating a new ArbfpProgramState struct when starting code
generation we weren't initializing arbfp_program_state->next_constant_id
to 0.
clutter/cogl/cogl/cogl-pipeline-arbfp.c
patch
|
blob
|
history
diff --git
a/clutter/cogl/cogl/cogl-pipeline-arbfp.c
b/clutter/cogl/cogl/cogl-pipeline-arbfp.c
index
45b4716
..
e5235c7
100644
(file)
--- a/
clutter/cogl/cogl/cogl-pipeline-arbfp.c
+++ b/
clutter/cogl/cogl/cogl-pipeline-arbfp.c
@@
-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;