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:

committed by
Florian Müllner

parent
b57832716a
commit
7c4e43c84f
@ -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);
|
||||
|
Reference in New Issue
Block a user