mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user