summaryrefslogtreecommitdiff
path: root/glx/glxcmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'glx/glxcmds.c')
-rw-r--r--glx/glxcmds.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/glx/glxcmds.c b/glx/glxcmds.c
index 0ca0598fe..083113584 100644
--- a/glx/glxcmds.c
+++ b/glx/glxcmds.c
@@ -1226,10 +1226,6 @@ static int DoDestroyDrawable(__GLXclientState *cl, XID glxdrawable, int type)
}
}
- if (type == GLX_DRAWABLE_PIXMAP) {
- ((PixmapPtr) pGlxDraw->pDraw)->refcnt--;
- }
-
FreeResource(glxdrawable, FALSE);
return Success;