summaryrefslogtreecommitdiff
path: root/Xext/xres.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xext/xres.c')
-rw-r--r--Xext/xres.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Xext/xres.c b/Xext/xres.c
index 6b87c3ddc..83cc6913a 100644
--- a/Xext/xres.c
+++ b/Xext/xres.c
@@ -410,21 +410,21 @@ ResFindGCPixmaps(void *value, XID id, void *cdata)
*bytes += ResGetApproxPixmapBytes(pGC->tile.pixmap);
}
+#ifdef RENDER
static void
ResFindPicturePixmaps(void *value, XID id, void *cdata)
{
-#ifdef RENDER
ResFindResourcePixmaps(value, id, PictureType, cdata);
-#endif
}
+#endif
+#ifdef COMPOSITE
static void
ResFindCompositeClientWindowPixmaps (void *value, XID id, void *cdata)
{
-#ifdef COMPOSITE
ResFindResourcePixmaps(value, id, CompositeClientWindowType, cdata);
-#endif
}
+#endif
static int
ProcXResQueryClientPixmapBytes(ClientPtr client)