diff options
author | Roman Kudiyarov <rkudiyarov@crystalnix.com> | 2010-08-04 12:08:50 +0700 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2010-08-04 15:13:11 +0100 |
commit | c1f0b59911fdc6096f070108d100ff14c2e25b29 (patch) | |
tree | 492f49e09dfd19c0fe740144953b3830d8c85a51 /clutter/clutter-shader-effect.c | |
parent | 52b6a3cd49c4fd654bde0a03b8e57156e731076f (diff) | |
download | clutter-c1f0b59911fdc6096f070108d100ff14c2e25b29.tar.gz |
test: Fixed test-rotate for osx platfom
There was a bug in clutter-shader-effect. We have to set to zero new object
of type GValue before we can use it in g_value_init.
Diffstat (limited to 'clutter/clutter-shader-effect.c')
-rw-r--r-- | clutter/clutter-shader-effect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clutter/clutter-shader-effect.c b/clutter/clutter-shader-effect.c index ce1ae57e4..bb1989766 100644 --- a/clutter/clutter-shader-effect.c +++ b/clutter/clutter-shader-effect.c @@ -514,6 +514,7 @@ shader_uniform_new (const gchar *name, retval->name = g_strdup (name); retval->type = G_VALUE_TYPE (value); retval->location = -1; + retval->value = (GValue){0}; g_value_init (&retval->value, retval->type); g_value_copy (value, &retval->value); |