From: Dave Airlie <airl...@redhat.com>

This refers to pWin->winSize in some #if 0 code remove it.

Signed-off-by: Dave Airlie <airl...@redhat.com>
---
 hw/xfree86/dri/dri.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c
index 3c64ae4..bb5482a 100644
--- a/hw/xfree86/dri/dri.c
+++ b/hw/xfree86/dri/dri.c
@@ -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);
-- 
1.7.1

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to