evas/x11: Fix Xlib swapper buffer size

Problem: Software engine fails to render on Tizen device.
This commit is contained in:
Jean-Philippe Andre 2013-11-01 14:44:07 +09:00
parent eb6af1f1ff
commit a3eb8d2e9d
1 changed files with 2 additions and 0 deletions

View File

@ -698,6 +698,8 @@ evas_xlib_swapper_buffer_map(X_Swapper *swp, int *bpl, int *w, int *h)
if ((swp->buf) && (swp->buf->pitch > 0)) *bpl = swp->buf->pitch;
else *bpl = swp->w * 4;
}
if (w) *w = swp->w;
if (h) *h = swp->h;
return swp->buf_data;
}
swp->buf = sym_DRI2GetBuffers(swp->disp, swp->draw,