summaryrefslogtreecommitdiff
path: root/glamor/glamor_getspans.c
diff options
context:
space:
mode:
Diffstat (limited to 'glamor/glamor_getspans.c')
-rw-r--r--glamor/glamor_getspans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_getspans.c b/glamor/glamor_getspans.c
index 8341df42e..bd6a5ec19 100644
--- a/glamor/glamor_getspans.c
+++ b/glamor/glamor_getspans.c
@@ -73,7 +73,7 @@ _glamor_get_spans(DrawablePtr drawable,
/* XXX prepare whole pixmap is not efficient. */
temp_fbo =
- glamor_es2_pixmap_read_prepare(pixmap, format,
+ glamor_es2_pixmap_read_prepare(pixmap, 0, 0, pixmap->drawable.width, pixmap->drawable.height, format,
type, no_alpha,
revert, swap_rb);
if (temp_fbo == NULL)