mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
2006-09-20 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-actor.c: (clutter_actor_paint): * clutter/clutter-clone-texture.c: (clutter_clone_texture_paint): * clutter/clutter-group.c: (clutter_group_paint): * clutter/clutter-rectangle.c: (clutter_rectangle_paint): * clutter/clutter-texture.c: (clutter_texture_paint): Fix for #156. clutter_actor_paint() now translates to actor position as to not fix scaled groups positioning. Sub classes now paint at 0,0.
This commit is contained in:
@ -204,8 +204,9 @@ clutter_clone_texture_paint (ClutterActor *self)
|
||||
CLUTTER_DBG("paint to x1: %i, y1: %i x2: %i, y2: %i opacity: %i",
|
||||
x1, y1, x2, y2, clutter_actor_get_opacity(self) );
|
||||
|
||||
/* Parent paint translated us into position */
|
||||
clone_texture_render_to_gl_quad (CLUTTER_CLONE_TEXTURE(self),
|
||||
x1, y1, x2, y2);
|
||||
0, 0, x2 - x1, y2 - y1);
|
||||
glDisable(target_type);
|
||||
glDisable(GL_BLEND);
|
||||
}
|
||||
|
Reference in New Issue
Block a user