shader-effect: Zero out ShaderUniform
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 29 Nov 2010 08:55:13 +0000 (08:55 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 29 Nov 2010 08:58:08 +0000 (08:58 +0000)
commit215d87abe9ccfe98cbf0e5e73f5c8edf4106a7ce
tree060ca69d045a15be8158887a522f5ce0e6025a50
parent21e47d4280e27393d7510e232a1b1ee19b426032
shader-effect: Zero out ShaderUniform

Do not use the compiler to zero the first field of the GValue member,
since it's apparently non-portable. As we're allocating memory anyway we
can let the slice allocator do the zero-ing for us.

Mentioned in: http://bugzilla.clutter-project.org/show_bug.cgi?id=2455
clutter/clutter-shader-effect.c