mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +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:
@@ -1064,7 +1064,6 @@ IntGdiCreateDisplayDC(HDEV hDev, ULONG DcType, BOOL EmptyDC)
|
||||
{
|
||||
HDC hDC;
|
||||
UNIMPLEMENTED;
|
||||
ASSERT(FALSE);
|
||||
|
||||
if (DcType == DC_TYPE_MEMORY)
|
||||
hDC = NtGdiCreateCompatibleDC(NULL); // OH~ Yuck! I think I taste vomit in my mouth!
|
||||
|
||||
Reference in New Issue
Block a user