1
0
Fork 0
mutter-performance-source/clutter/cogl
Robert Bragg eeac7c5f43 material: fix initialization of sparse properties
In _cogl_material_pre_change_notify we need to identify if it's a sparse
property being changed and if so initialize the state group if the given
material isn't currently the authority for it.

Previously we were unconditionally calling
_cogl_material_initialize_state which would e.g. NULL the layer
differences list of a material each time a layer change was notified.

It would also call _cogl_material_initialize_state for non-sparse
properties which should always be valid at this point so the function
has been renamed to _cogl_material_initialize_sparse_state to make this
clearer with a corresponding g_return_if_fail check.
2010-08-09 17:12:26 +01:00
..
cogl material: fix initialization of sparse properties 2010-08-09 17:12:26 +01:00
doc cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
pango cogl: don't include cogl-debug.h in cogl.h or install 2010-08-02 17:41:42 +01:00
Makefile.am [cogl] move clutter/pango to clutter/cogl/pango 2009-10-16 18:58:51 +01:00