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; }