mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 02:20:43 -05:00
[glx-texture-pixmap] Unref a cogl texture handle.
According to clutter_texture_set_cogl_texture you should unref the handle as the texture takes its own. Signed-off-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
parent
c968b06f15
commit
04dc4106e5
@ -377,6 +377,7 @@ create_cogl_texture (ClutterTexture *texture,
|
||||
priv->using_rectangle = using_rectangle;
|
||||
|
||||
clutter_texture_set_cogl_texture (texture, handle);
|
||||
cogl_texture_unref(handle);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user