diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2006-10-26 15:39:49 +0300 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2006-10-26 16:23:24 +0300 |
commit | 23cec754158c94b43225b2070fc0a0b003e7bd25 (patch) | |
tree | aee70722022fa4235303f593f04675a71f4e2d4a /src/atidri.c | |
parent | 9cd78af1d06f753e7bd7e1acaff25398bde45f6e (diff) |
[mach64] EXA: reserve DRI buffers only when DRI is active.
Diffstat (limited to 'src/atidri.c')
-rw-r--r-- | src/atidri.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/atidri.c b/src/atidri.c index 26bee38..2bc6d84 100644 --- a/src/atidri.c +++ b/src/atidri.c @@ -408,7 +408,6 @@ static void ATIDRITransitionTo2d_EXA(ScreenPtr pScreen) { ScrnInfoPtr pScreenInfo = xf86Screens[pScreen->myNum]; ATIPtr pATI = ATIPTR(pScreenInfo); -#if 0 ATIDRIServerInfoPtr pATIDRIServer = pATI->pDRIServerInfo; exaEnableDisableFBAccess(pScreen->myNum, FALSE); @@ -416,7 +415,6 @@ static void ATIDRITransitionTo2d_EXA(ScreenPtr pScreen) pATI->pExa->offScreenBase = pATIDRIServer->backOffset; exaEnableDisableFBAccess(pScreen->myNum, TRUE); -#endif pATI->have3DWindows = FALSE; } @@ -425,7 +423,6 @@ static void ATIDRITransitionTo3d_EXA(ScreenPtr pScreen) { ScrnInfoPtr pScreenInfo = xf86Screens[pScreen->myNum]; ATIPtr pATI = ATIPTR(pScreenInfo); -#if 0 ATIDRIServerInfoPtr pATIDRIServer = pATI->pDRIServerInfo; exaEnableDisableFBAccess(pScreen->myNum, FALSE); @@ -434,7 +431,6 @@ static void ATIDRITransitionTo3d_EXA(ScreenPtr pScreen) pATIDRIServer->textureSize; exaEnableDisableFBAccess(pScreen->myNum, TRUE); -#endif pATI->have3DWindows = TRUE; } |