[GDI32] Relax an ASSERT

This prevents an assertion failure in gdi32_winetest
This commit is contained in:
Timo Kreuzer
2025-12-08 19:28:18 +02:00
parent eb23595829
commit f85e19ecfb

View File

@@ -187,7 +187,7 @@ GDI_hdc_not_using_object(
/* Remove the HDC link for the object */
hdcLink = GdiRemoveClientObjLink(hobj);
ASSERT(hdcLink == hdc);
ASSERT(hdcLink == NULL || hdcLink == hdc);
}
/***********************************************************************