mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
[cogl-texture] Fix uninitialised priv var in texture_finalize
Fix my failure to initialise the priv var which was some causing crashes.
This commit is contained in:
parent
a2168686b9
commit
0be6f42070
@ -693,7 +693,7 @@ static void
|
||||
clutter_texture_finalize (GObject *object)
|
||||
{
|
||||
ClutterTexture *texture = CLUTTER_TEXTURE (object);
|
||||
ClutterTexturePrivate *priv;
|
||||
ClutterTexturePrivate *priv = texture->priv;
|
||||
|
||||
if (priv->material != COGL_INVALID_HANDLE)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user