From aaab5f01981456d6088f99b7cf9b607330ac5309 Mon Sep 17 00:00:00 2001 From: Ahmed Arif Date: Fri, 26 Jun 2026 14:28:42 +0200 Subject: [PATCH] [WIN32SS:NTGDI] IntGdiCreateDisplayDC: Directly invoke GreCreateCompatibleDC (#9164) Call the internal GreCreateCompatibleDC instead of the NtGdi syscall stub. --- win32ss/gdi/ntgdi/dclife.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32ss/gdi/ntgdi/dclife.c b/win32ss/gdi/ntgdi/dclife.c index caa66eda073..cdb87716056 100644 --- a/win32ss/gdi/ntgdi/dclife.c +++ b/win32ss/gdi/ntgdi/dclife.c @@ -1066,7 +1066,7 @@ IntGdiCreateDisplayDC(HDEV hDev, ULONG DcType, BOOL EmptyDC) UNIMPLEMENTED; if (DcType == DCTYPE_MEMORY) - hDC = NtGdiCreateCompatibleDC(NULL); // OH~ Yuck! I think I taste vomit in my mouth! + hDC = GreCreateCompatibleDC(NULL, FALSE); else hDC = IntGdiCreateDC(NULL, NULL, NULL, NULL, (DcType == DCTYPE_INFO));