summaryrefslogtreecommitdiff
path: root/src/qxl_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qxl_driver.c')
-rw-r--r--src/qxl_driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 9c1377d..e94c519 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -1031,6 +1031,10 @@ qxl_create_pixmap (ScreenPtr screen, int w, int h, int depth, unsigned usage)
ErrorF (" Successfully created surface in video memory\n");
pixmap = fbCreatePixmap (screen, 0, 0, depth, usage);
+
+ screen->ModifyPixmapHeader(pixmap, w, h,
+ -1, -1, -1,
+ NULL);
set_surface (pixmap, surface);
}