[CMAKE]
[reactos.git] / subsystems / win32 / win32k / eng / engwindow.c
index 74f9ec9..19d76be 100644 (file)
@@ -117,7 +117,7 @@ IntEngWndUpdateClipObj(
     {
       DPRINT1("Warning: Couldn't lock visible region of window DC\n");
     }
-    REGION_FreeRgnByHandle(hVisRgn);
+    GreDeleteObject(hVisRgn);
   }
   else
   {