diff options
author | Søren Sandmann <ssp@redhat.com> | 2012-08-12 11:49:05 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-08-23 17:34:33 -0400 |
commit | 2919c8713835de7a0359f408102eba66a248b25b (patch) | |
tree | 736af684a6788a72181a5ff94dba42a01d6f6e56 | |
parent | 0fb7ff57dede226f5f016e80da21355884bffc24 (diff) |
Use command slot for transformations
-rw-r--r-- | src/qxl_surface.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qxl_surface.c b/src/qxl_surface.c index 512b304..c422476 100644 --- a/src/qxl_surface.c +++ b/src/qxl_surface.c @@ -1427,7 +1427,7 @@ get_transform (qxl_screen_t *qxl, PictTransform *transform) { if (transform) { - QXLTransform *qxform = qxl_alloc (qxl->surf_mem, sizeof (QXLTransform)); + QXLTransform *qxform = qxl_allocnf (qxl, sizeof (QXLTransform)); qxform->t00 = transform->matrix[0][0]; qxform->t01 = transform->matrix[0][1]; @@ -1451,7 +1451,6 @@ full_rect (qxl_surface_t *surface) int w = pixman_image_get_width (surface->host_image); int h = pixman_image_get_height (surface->host_image); - r.left = r.top = 0; r.right = w; r.bottom = h; |