diff options
author | marha <marha@users.sourceforge.net> | 2009-07-25 16:02:10 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-07-25 16:02:10 +0000 |
commit | 6aa791a05508dd822b229cd4ff4f9b8cdd617db3 (patch) | |
tree | a07d0a8452c90e3305417e8691d6e1deca7aa9aa /pixman/pixman/pixman-region32.c | |
parent | ddfb922180a6a847d52609592a2bdb37179ca439 (diff) | |
parent | 4b195776d5fb64e83a4e56627367d8e9ea10cbf7 (diff) | |
download | vcxsrv-6aa791a05508dd822b229cd4ff4f9b8cdd617db3.tar.gz vcxsrv-6aa791a05508dd822b229cd4ff4f9b8cdd617db3.tar.bz2 vcxsrv-6aa791a05508dd822b229cd4ff4f9b8cdd617db3.zip |
svn merge file:///D:/svnrepos/vcxsrv/branches/released .
Diffstat (limited to 'pixman/pixman/pixman-region32.c')
-rw-r--r-- | pixman/pixman/pixman-region32.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/pixman/pixman/pixman-region32.c b/pixman/pixman/pixman-region32.c index 8a30d1dc7..aeee86cf9 100644 --- a/pixman/pixman/pixman-region32.c +++ b/pixman/pixman/pixman-region32.c @@ -40,34 +40,4 @@ typedef struct { #define PREFIX(x) pixman_region32##x -pixman_bool_t -pixman_region32_copy_from_region16 (pixman_region32_t *dst, - pixman_region16_t *src) -{ - int n_boxes, i; - pixman_box16_t *boxes16; - pixman_box32_t *boxes32; - pixman_bool_t retval; - - boxes16 = pixman_region_rectangles (src, &n_boxes); - - boxes32 = pixman_malloc_ab (n_boxes, sizeof (pixman_box32_t)); - - if (!boxes32) - return FALSE; - - for (i = 0; i < n_boxes; ++i) - { - boxes32[i].x1 = boxes16[i].x1; - boxes32[i].y1 = boxes16[i].y1; - boxes32[i].x2 = boxes16[i].x2; - boxes32[i].y2 = boxes16[i].y2; - } - - pixman_region32_fini (dst); - retval = pixman_region32_init_rects (dst, boxes32, n_boxes); - free (boxes32); - return retval; -} - #include "pixman-region.c" |