summaryrefslogtreecommitdiff
path: root/hw/xgl/xglsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xgl/xglsync.c')
-rw-r--r--hw/xgl/xglsync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xgl/xglsync.c b/hw/xgl/xglsync.c
index 0fa3aa05a..d15733c6b 100644
--- a/hw/xgl/xglsync.c
+++ b/hw/xgl/xglsync.c
@@ -173,6 +173,7 @@ xglSyncBits (DrawablePtr pDrawable,
pBox = REGION_RECTS (&region);
nBox = REGION_NUM_RECTS (&region);
+ format.fourcc = GLITZ_FOURCC_RGB;
format.masks = pPixmapPriv->pPixel->masks;
while (nBox--)
@@ -250,6 +251,7 @@ xglSyncSurface (DrawablePtr pDrawable)
pBox = REGION_RECTS (pRegion);
pExt = REGION_EXTENTS (pDrawable->pScreen, pRegion);
+ format.fourcc = GLITZ_FOURCC_RGB;
format.masks = pPixmapPriv->pPixel->masks;
format.xoffset = pExt->x1;