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>
This commit is contained in:
Maks Naumov 2014-08-21 12:58:16 -07:00 committed by Keith Packard
parent 3a51418b2d
commit e1cc0d3df1

View File

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