Replace screen->rgf scratch GC flags with a bit in each GC.

This eliminates a poorly-named, poorly-documented field from the
ScreenRec, using a previously-unused flag bit in each GC instead.

Signed-off-by: Jamey Sharp <jamey@minilop.net>
Cc: Keith Packard <keithp@keithp.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Jamey Sharp 2010-05-20 10:46:43 -07:00 • committed by Keith Packard
commit 5754e66044
5 changed files with 20 additions and 23 deletions

View file

@ -243,7 +243,6 @@ xnestOpenScreen(int index, ScreenPtr pScreen, int argc, char *argv[])
pScreen->saveUnderSupport = NotUseful;
pScreen->whitePixel = xnestWhitePixel;
pScreen->blackPixel = xnestBlackPixel;
/* rgf */
/* GCperDepth */
/* PixmapPerDepth */
pScreen->devPrivate = NULL;