diff --git a/src/i830.h b/src/i830.h index 82a41664..dc8041c5 100644 --- a/src/i830.h +++ b/src/i830.h @@ -306,7 +306,6 @@ typedef struct _I830Rec { int TexGranularity; int drmMinor; - Bool have3DWindows; int mmModeFlags; int mmSize; diff --git a/src/i830_dri.c b/src/i830_dri.c index 38e11e73..f55fa715 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -1468,7 +1468,6 @@ I830DRITransitionTo3d(ScreenPtr pScreen) I830Ptr pI830 = I830PTR(pScrn); I830DRISetPfMask(pScreen, pI830->allowPageFlip ? 0x3 : 0); - pI830->have3DWindows = 1; } @@ -1488,8 +1487,6 @@ I830DRITransitionTo2d(ScreenPtr pScreen) "[dri] %s: kernel failed to unflip buffers.\n", __func__); I830DRISetPfMask(pScreen, 0); - - pI830->have3DWindows = 0; } static void