1
0
xorg-x11-server/XAANoOffscreenPixmaps.diff

12 lines
576 B
Diff

--- hw/xfree86/xaa/xaaInitAccel.c.orig 2007-11-06 15:45:37.000000000 +0100
+++ hw/xfree86/xaa/xaaInitAccel.c 2008-04-10 06:38:52.000000000 +0200
@@ -542,7 +542,7 @@ XAAInitAccel(ScreenPtr pScreen, XAAInfoR
#define XAAMSG(s) do { if (serverGeneration == 1) xf86ErrorF(s); } while (0)
if((infoRec->Flags & OFFSCREEN_PIXMAPS) && HaveScreenToScreenCopy &&
- !xf86IsOptionSet(options, XAAOPT_OFFSCREEN_PIXMAPS)) {
+ !xf86ReturnOptValBool(options, XAAOPT_OFFSCREEN_PIXMAPS, TRUE)) {
XAAMSG("\tOffscreen Pixmaps\n");
} else {
infoRec->Flags &= ~OFFSCREEN_PIXMAPS;