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:
parent
eed4dab0fc
commit
5774fcdd80
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user