summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_x11/evas_xlib_swapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/software_x11/evas_xlib_swapper.c')
-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,