summaryrefslogtreecommitdiff
path: root/dix/gc.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2007-03-25 17:57:54 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2007-03-25 17:57:54 -0400
commit4b5802ddbd45271be3cadeae0a83a6742df2515b (patch)
tree9569d18b523da979175562b113dd610752afd6ec /dix/gc.c
parent04b87d6dfae02e4ecdb5216d12c6cdafd1e8c2b4 (diff)
General DIX static and dead code cleanup.
Diffstat (limited to 'dix/gc.c')
-rw-r--r--dix/gc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/dix/gc.c b/dix/gc.c
index 7b7953db1..7a76dd99d 100644
--- a/dix/gc.c
+++ b/dix/gc.c
@@ -907,17 +907,6 @@ FreeGC(pointer value, XID gid)
return(Success);
}
-void
-SetGCMask(GCPtr pGC, Mask selectMask, Mask newDataMask)
-{
- pGC->stateChanges = (~selectMask & pGC->stateChanges) |
- (selectMask & newDataMask);
- if (selectMask & newDataMask)
- pGC->serialNumber |= GC_CHANGE_SERIAL_BIT;
-}
-
-
-
/* CreateScratchGC(pScreen, depth)
like CreateGC, but doesn't do the default tile or stipple,
since we can't create them without already having a GC. any code