summaryrefslogtreecommitdiff
path: root/glamor/glamor_transform.c
diff options
context:
space:
mode:
Diffstat (limited to 'glamor/glamor_transform.c')
-rw-r--r--glamor/glamor_transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_transform.c b/glamor/glamor_transform.c
index 7d1e685d2..df45b6fa4 100644
--- a/glamor/glamor_transform.c
+++ b/glamor/glamor_transform.c
@@ -169,7 +169,7 @@ glamor_set_texture(PixmapPtr pixmap,
if (!GLAMOR_PIXMAP_PRIV_HAS_FBO(texture_priv))
return FALSE;
- if (texture_priv->type == GLAMOR_TEXTURE_LARGE)
+ if (glamor_pixmap_priv_is_large(texture_priv))
return FALSE;
glActiveTexture(GL_TEXTURE0);