summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/glamor_pixmap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glamor_pixmap.c b/src/glamor_pixmap.c
index fc71151..617ed26 100644
--- a/src/glamor_pixmap.c
+++ b/src/glamor_pixmap.c
@@ -831,6 +831,9 @@ ready_to_upload:
return TRUE;
}
+ if (!GLAMOR_PIXMAP_PRIV_HAS_FBO(pixmap_priv))
+ return FALSE;
+
if (need_flip)
ptexcoords = texcoords;
else