mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 08:29:23 +00:00
DRI2: update DRI2 private drawable width & height according to X drawable
This commit is contained in:
@@ -257,6 +257,8 @@ do_get_buffers(DrawablePtr pDraw, int *width, int *height,
|
||||
|
||||
pPriv->buffers = buffers;
|
||||
pPriv->bufferCount = *out_count;
|
||||
pPriv->width = pDraw->width;
|
||||
pPriv->height = pDraw->height;
|
||||
*width = pPriv->width;
|
||||
*height = pPriv->height;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user