From 2446c474aae15bcaf31e4b799f94f21d515984d5 Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 22 Apr 2010 13:02:12 +0000 Subject: svn merge -r541:HEAD "^/branches/released" . --- xorg-server/miext/cw/cw.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'xorg-server/miext/cw/cw.c') diff --git a/xorg-server/miext/cw/cw.c b/xorg-server/miext/cw/cw.c index 74000ffa0..247cb83e1 100644 --- a/xorg-server/miext/cw/cw.c +++ b/xorg-server/miext/cw/cw.c @@ -49,10 +49,8 @@ static int cwScreenKeyIndex; DevPrivateKey cwScreenKey = &cwScreenKeyIndex; static int cwWindowKeyIndex; DevPrivateKey cwWindowKey = &cwWindowKeyIndex; -#ifdef RENDER static int cwPictureKeyIndex; DevPrivateKey cwPictureKey = &cwPictureKeyIndex; -#endif extern GCOps cwGCOps; static Bool @@ -477,9 +475,7 @@ void miInitializeCompositeWrapper(ScreenPtr pScreen) { cwScreenPtr pScreenPriv; -#ifdef RENDER Bool has_render = GetPictureScreenIfSet(pScreen) != NULL; -#endif if (!dixRequestPrivate(cwGCKey, sizeof(cwGCRec))) return; @@ -499,19 +495,15 @@ miInitializeCompositeWrapper(ScreenPtr pScreen) SCREEN_EPILOGUE(pScreen, SetWindowPixmap, cwSetWindowPixmap); SCREEN_EPILOGUE(pScreen, GetWindowPixmap, cwGetWindowPixmap); -#ifdef RENDER if (has_render) cwInitializeRender(pScreen); -#endif } static Bool cwCloseScreen (int i, ScreenPtr pScreen) { cwScreenPtr pScreenPriv; -#ifdef RENDER PictureScreenPtr ps = GetPictureScreenIfSet(pScreen); -#endif pScreenPriv = (cwScreenPtr)dixLookupPrivate(&pScreen->devPrivates, cwScreenKey); @@ -521,10 +513,8 @@ cwCloseScreen (int i, ScreenPtr pScreen) pScreen->CreateGC = pScreenPriv->CreateGC; pScreen->CopyWindow = pScreenPriv->CopyWindow; -#ifdef RENDER if (ps) cwFiniRender(pScreen); -#endif xfree((pointer)pScreenPriv); -- cgit v1.2.3