mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 22:23:05 +00:00
[WIN32SS][NTGDI] Remove useless assert (#4370) CORE-17561
Remove useless ASSERT(FALSE); in IntGdiCreateDisplayDC, because it actually does not check anything useful. It only asserts each time when the function is called from DxEngCreateMemoryDC by MS DirectDraw stack (ddraw.dll & dxg.sys). UNIMPLEMENTED debug print is enough a lot to see that this function is not implemented properly. CORE-17561
This commit is contained in:
parent
81943afb7b
commit
9ab5d3afb2
1 changed files with 0 additions and 1 deletions
|
@ -1064,7 +1064,6 @@ IntGdiCreateDisplayDC(HDEV hDev, ULONG DcType, BOOL EmptyDC)
|
||||||
{
|
{
|
||||||
HDC hDC;
|
HDC hDC;
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
ASSERT(FALSE);
|
|
||||||
|
|
||||||
if (DcType == DC_TYPE_MEMORY)
|
if (DcType == DC_TYPE_MEMORY)
|
||||||
hDC = NtGdiCreateCompatibleDC(NULL); // OH~ Yuck! I think I taste vomit in my mouth!
|
hDC = NtGdiCreateCompatibleDC(NULL); // OH~ Yuck! I think I taste vomit in my mouth!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue