[St] Remove unused width/height from st_theme_node_transition_paint
We query the texture size here but never actually use it. https://bugzilla.gnome.org/show_bug.cgi?id=625713
This commit is contained in:
parent
b76fe12209
commit
7fa9e88294
@ -282,7 +282,6 @@ st_theme_node_transition_paint (StThemeNodeTransition *transition,
|
||||
{
|
||||
StThemeNodeTransitionPrivate *priv = transition->priv;
|
||||
|
||||
guint width, height;
|
||||
CoglColor constant;
|
||||
float tex_coords[] = {
|
||||
0.0, 0.0, 1.0, 1.0,
|
||||
@ -307,9 +306,6 @@ st_theme_node_transition_paint (StThemeNodeTransition *transition,
|
||||
paint_opacity);
|
||||
}
|
||||
|
||||
width = cogl_texture_get_width (priv->old_texture);
|
||||
height = cogl_texture_get_height (priv->old_texture);
|
||||
|
||||
cogl_color_set_from_4ub (&constant, 0, 0, 0,
|
||||
clutter_alpha_get_alpha (priv->alpha) * paint_opacity);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user