mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +00:00
[WIN32K][GDI32] Add debugbreaks
This commit is contained in:
parent
c18b584a84
commit
c5e7af9ff8
2 changed files with 3 additions and 1 deletions
|
@ -435,6 +435,7 @@ GdiFlushUserBatch(PDC dc, PGDIBATCHHDR pHdr)
|
||||||
case GdiBCSelObj:
|
case GdiBCSelObj:
|
||||||
{
|
{
|
||||||
PGDIBSOBJECT pgO;
|
PGDIBSOBJECT pgO;
|
||||||
|
__debugbreak();
|
||||||
|
|
||||||
if (!dc) break;
|
if (!dc) break;
|
||||||
pgO = (PGDIBSOBJECT) pHdr;
|
pgO = (PGDIBSOBJECT) pHdr;
|
||||||
|
|
|
@ -261,7 +261,7 @@ IntValidateWindowStationHandle(
|
||||||
BOOL FASTCALL
|
BOOL FASTCALL
|
||||||
co_IntInitializeDesktopGraphics(VOID)
|
co_IntInitializeDesktopGraphics(VOID)
|
||||||
{
|
{
|
||||||
//TEXTMETRICW tmw;
|
TEXTMETRICW tmw;
|
||||||
UNICODE_STRING DriverName = RTL_CONSTANT_STRING(L"DISPLAY");
|
UNICODE_STRING DriverName = RTL_CONSTANT_STRING(L"DISPLAY");
|
||||||
PDESKTOP pdesk;
|
PDESKTOP pdesk;
|
||||||
|
|
||||||
|
@ -312,6 +312,7 @@ co_IntInitializeDesktopGraphics(VOID)
|
||||||
}
|
}
|
||||||
// Font is realized and this dc was previously set to internal DC_ATTR.
|
// Font is realized and this dc was previously set to internal DC_ATTR.
|
||||||
ERR("HACK HACK HACK HACK HACK HACK HACK HACK HACK \n");
|
ERR("HACK HACK HACK HACK HACK HACK HACK HACK HACK \n");
|
||||||
|
__debugbreak();
|
||||||
#if 0
|
#if 0
|
||||||
gpsi->cxSysFontChar = IntGetCharDimensions(hSystemBM, &tmw, (DWORD*)&gpsi->cySysFontChar);
|
gpsi->cxSysFontChar = IntGetCharDimensions(hSystemBM, &tmw, (DWORD*)&gpsi->cySysFontChar);
|
||||||
gpsi->tmSysFont = tmw;
|
gpsi->tmSysFont = tmw;
|
||||||
|
|
Loading…
Reference in a new issue