MetaShapedTexture: Default to y-inverted being true

Normally textures in OpenGL are inverted on the Y axis, and we only
apply our rotation transform when it is not. To make the common case
work as normal, default to assuming textures are Y inverted.

https://bugzilla.gnome.org/show_bug.cgi?id=773629
This commit is contained in:
Jonas Ådahl 2016-11-18 09:34:41 +08:00
parent eed4dab0fc
commit 5774fcdd80

View File

@ -133,6 +133,7 @@ meta_shaped_texture_init (MetaShapedTexture *self)
priv->texture = NULL; priv->texture = NULL;
priv->mask_texture = NULL; priv->mask_texture = NULL;
priv->create_mipmaps = TRUE; priv->create_mipmaps = TRUE;
priv->is_y_inverted = TRUE;
} }
static void static void