Remove deprecated CoglHandle

Prefer something a bit more type-safe instead and in the meantime use
the newly available `cogl_clear_object` to simplify some code a bit.
This commit is contained in:
Niels De Graef
2018-11-24 12:37:19 +01:00
committed by Florian Müllner
parent b57832716a
commit 7c4e43c84f
7 changed files with 116 additions and 231 deletions

View File

@ -102,7 +102,7 @@ shell_invert_lightness_effect_pre_paint (ClutterEffect *effect)
{
ClutterOffscreenEffect *offscreen_effect =
CLUTTER_OFFSCREEN_EFFECT (effect);
CoglHandle texture;
CoglTexture *texture;
texture = clutter_offscreen_effect_get_texture (offscreen_effect);
self->tex_width = cogl_texture_get_width (texture);