Commit f250eea2 authored by Jerome Glisse's avatar Jerome Glisse
Browse files

DRI2: update DRI2 private drawable width & height according to X drawable

parent 0952d127
...@@ -257,6 +257,8 @@ do_get_buffers(DrawablePtr pDraw, int *width, int *height, ...@@ -257,6 +257,8 @@ do_get_buffers(DrawablePtr pDraw, int *width, int *height,
pPriv->buffers = buffers; pPriv->buffers = buffers;
pPriv->bufferCount = *out_count; pPriv->bufferCount = *out_count;
pPriv->width = pDraw->width;
pPriv->height = pDraw->height;
*width = pPriv->width; *width = pPriv->width;
*height = pPriv->height; *height = pPriv->height;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment