dri: kill if 0 out code.
This refers to pWin->winSize in some #if 0 code remove it. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Cyril Brulebois <kibi@debian.org>
This commit is contained in:
parent
eb9266c717
commit
ef9d04f8ad
|
@ -1497,10 +1497,6 @@ DRIGetDrawableInfo(ScreenPtr pScreen,
|
|||
*stamp = pDRIPriv->pSAREA->drawableTable[*index].stamp;
|
||||
*X = (int)(pWin->drawable.x);
|
||||
*Y = (int)(pWin->drawable.y);
|
||||
#if 0
|
||||
*W = (int)(pWin->winSize.extents.x2 - pWin->winSize.extents.x1);
|
||||
*H = (int)(pWin->winSize.extents.y2 - pWin->winSize.extents.y1);
|
||||
#endif
|
||||
*W = (int)(pWin->drawable.width);
|
||||
*H = (int)(pWin->drawable.height);
|
||||
*numClipRects = RegionNumRects(&pWin->clipList);
|
||||
|
|
Loading…
Reference in New Issue
Block a user