summaryrefslogtreecommitdiff
path: root/hw/xwin/wingc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/wingc.c')
-rw-r--r--hw/xwin/wingc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/wingc.c b/hw/xwin/wingc.c
index 1f3775263..196b5b5dd 100644
--- a/hw/xwin/wingc.c
+++ b/hw/xwin/wingc.c
@@ -210,7 +210,7 @@ winDestroyGCNativeGDI (GCPtr pGC)
winScreenPriv(pGC->pScreen);
if (pGC->freeCompClip)
- REGION_DESTROY (pGC->pScreen, pGC->pCompositeClip);
+ RegionDestroy(pGC->pCompositeClip);
/* Free the memory DC */
if (pGCPriv->hdcMem != NULL)