diff options
-rw-r--r-- | src/qxl_surface.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qxl_surface.c b/src/qxl_surface.c index 6761bf6..5715891 100644 --- a/src/qxl_surface.c +++ b/src/qxl_surface.c @@ -845,7 +845,6 @@ qxl_surface_prepare_access (qxl_surface_t *surface, ScreenPtr pScreen = pixmap->drawable.pScreen; ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; RegionRec new; - int stride, height; if (!pScrn->vtSema) return FALSE; @@ -861,9 +860,6 @@ qxl_surface_prepare_access (qxl_surface_t *surface, n_boxes = REGION_NUM_RECTS (region); boxes = REGION_RECTS (region); - stride = pixman_image_get_stride (surface->dev_image); - height = pixman_image_get_height (surface->dev_image); - if (n_boxes < 25) { while (n_boxes--) |