xserver: Branch 'master'
Jerome Glisse
glisse at kemper.freedesktop.org
Mon May 11 13:54:40 PDT 2009
hw/xfree86/dri2/dri2.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit f250eea2e90fc50bec5214c2f41132b95edc2c46
Author: Jerome Glisse <glisse at freedesktop.org>
Date: Mon May 11 22:52:46 2009 +0200
DRI2: update DRI2 private drawable width & height according to X drawable
diff --git a/hw/xfree86/dri2/dri2.c b/hw/xfree86/dri2/dri2.c
index 1d49d7c..385c5e8 100644
--- a/hw/xfree86/dri2/dri2.c
+++ b/hw/xfree86/dri2/dri2.c
@@ -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;
More information about the xorg-commit
mailing list