summaryrefslogtreecommitdiff
path: root/glx/glxdriswrast.c
diff options
context:
space:
mode:
authorMaks Naumov <maksqwe1@ukr.net>2014-08-21 12:58:16 -0700
committerKeith Packard <keithp@keithp.com>2014-09-11 17:51:12 -0700
commite1cc0d3df1fdb6c4393ac455ca038e1e0680bb22 (patch)
treef25f0103896bb191957e810ea59675af6a5a4fc5 /glx/glxdriswrast.c
parent3a51418b2db353519a1779cf3cebbcc9afba2520 (diff)
glx: Fix 'y ' value in swrastGetDrawableInfo()
Signed-off-by: Maks Naumov <maksqwe1@ukr.net> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glx/glxdriswrast.c')
-rw-r--r--glx/glxdriswrast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index c30ce9aed..5d9aa0437 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;
}