summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
Diffstat (limited to 'glx')
-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;
}