mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
No need to create a DC to get the display depth
Incidentally, this partly unregresses the /CONSOLE switch if blue.sys is installed svn path=/trunk/; revision=40906
This commit is contained in:
parent
a640fa9dc1
commit
4535cbb145
1 changed files with 2 additions and 1 deletions
|
@ -396,9 +396,10 @@ BOOL SIC_Initialize(void)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
hDC = GetDC(NULL);
|
||||
hDC = CreateICW(L"DISPLAY", NULL, NULL, NULL); bpp 0
|
||||
if (!hDC)
|
||||
{
|
||||
ERR("Failed to create information context (error %d)\n", GetLastError());
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue