summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-11-01 14:44:07 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-11-04 10:35:26 +0900
commita3eb8d2e9d42a83c633d19196d28f3c621522dc5 (patch)
treea12283825a2c8125a3bf9faafc2254a46638fb11 /src/modules
parenteb6af1f1ff7ee069eff8bab13c0eed5010ef5660 (diff)
evas/x11: Fix Xlib swapper buffer size
Problem: Software engine fails to render on Tizen device.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/engines/software_x11/evas_xlib_swapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/evas/engines/software_x11/evas_xlib_swapper.c b/src/modules/evas/engines/software_x11/evas_xlib_swapper.c
index 705f077dad..81383ebec9 100644
--- a/src/modules/evas/engines/software_x11/evas_xlib_swapper.c
+++ b/src/modules/evas/engines/software_x11/evas_xlib_swapper.c
@@ -698,6 +698,8 @@ evas_xlib_swapper_buffer_map(X_Swapper *swp, int *bpl, int *w, int *h)
698 if ((swp->buf) && (swp->buf->pitch > 0)) *bpl = swp->buf->pitch; 698 if ((swp->buf) && (swp->buf->pitch > 0)) *bpl = swp->buf->pitch;
699 else *bpl = swp->w * 4; 699 else *bpl = swp->w * 4;
700 } 700 }
701 if (w) *w = swp->w;
702 if (h) *h = swp->h;
701 return swp->buf_data; 703 return swp->buf_data;
702 } 704 }
703 swp->buf = sym_DRI2GetBuffers(swp->disp, swp->draw, 705 swp->buf = sym_DRI2GetBuffers(swp->disp, swp->draw,