mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[WIN32SS:NTGDI] IntGdiCreateDisplayDC: Directly invoke GreCreateCompatibleDC (#9164)
Call the internal GreCreateCompatibleDC instead of the NtGdi syscall stub.
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user