From e2f888a617f6344d9676694603edcfd173fbb9c1 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 7 Apr 2009 20:41:30 +0200 Subject: [PATCH] gdi32: Allow the visible region to be zero since this is the case for metafiles. --- dlls/gdi32/clipping.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dlls/gdi32/clipping.c b/dlls/gdi32/clipping.c index 8e80207f0e9..4e294b6a91f 100644 --- a/dlls/gdi32/clipping.c +++ b/dlls/gdi32/clipping.c @@ -51,12 +51,6 @@ void CLIPPING_UpdateGCRegion( DC * dc ) { HRGN clip_rgn; - if (!dc->hVisRgn) - { - ERR("hVisRgn is zero. Please report this.\n" ); - exit(1); - } - /* update the intersection of meta and clip regions */ if (dc->hMetaRgn && dc->hClipRgn) { -- 2.11.4.GIT