[PATCH] glx: Fix 'y ' value in swrastGetDrawableInfo()

Maks Naumov maksqwe1 at ukr.net
Thu Aug 21 12:58:16 PDT 2014


Signed-off-by: Maks Naumov <maksqwe1 at ukr.net>
---
 glx/glxdriswrast.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index c30ce9a..5d9aa04 100644
--- a/glx/glxdriswrast.c
+++ b/glx/glxdriswrast.c
@@ -325,7 +325,7 @@ swrastGetDrawableInfo(__DRIdrawable * draw,
     DrawablePtr pDraw = drawable->base.pDraw;
 
     *x = pDraw->x;
-    *y = pDraw->x;
+    *y = pDraw->y;
     *w = pDraw->width;
     *h = pDraw->height;
 }
-- 
1.9.1





More information about the xorg-devel mailing list