[WIN32SS:NTGDI] IntGdiCreateDisplayDC: Directly invoke GreCreateCompatibleDC (#9164)

Call the internal GreCreateCompatibleDC instead of the NtGdi syscall stub.
This commit is contained in:
Ahmed Arif
2026-06-26 14:28:42 +02:00
committed by GitHub
parent 6e95a132bd
commit aaab5f0198
+1 -1
View File
@@ -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));