diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c index 3f0be08e8..d87c3f6de 100644 --- a/clutter/clutter-texture.c +++ b/clutter/clutter-texture.c @@ -1416,7 +1416,7 @@ clutter_texture_set_cogl_texture (ClutterTexture *texture, { ClutterRequestMode request; - if (priv->image_width > priv->image_height) + if (priv->image_width >= priv->image_height) request = CLUTTER_REQUEST_HEIGHT_FOR_WIDTH; else request = CLUTTER_REQUEST_WIDTH_FOR_HEIGHT;