mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-09 14:40:15 +01:00
DRI2: update DRI2 private drawable width & height according to X drawable
(cherry picked from commit f250eea2e9)
This commit is contained in:
parent
ec9f1ae324
commit
540d5b87a4
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue