mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +00:00
- Yet another victim of the Win32k Initialization BUG!
- Creating an Information DC is wrong when using it with Icon Creation. This makes the default bitmap monochrome and this is why CreateCompatibleBitmap is broken. Plus all the hacks related to making it all work in Win32k. svn path=/trunk/; revision=38002
This commit is contained in:
parent
8e07c62725
commit
af9b7168ed
1 changed files with 2 additions and 0 deletions
|
@ -291,6 +291,8 @@ CreateIconFromResourceEx(
|
|||
Data = (PBYTE)SafeIconImage + HeaderSize;
|
||||
|
||||
/* get a handle to the screen dc, the icon we create is going to be compatable with this */
|
||||
// FIXME!!! This is a victim of the Win32k Initialization BUG!!!!!
|
||||
//hScreenDc = CreateDCW(NULL, NULL, NULL, NULL);
|
||||
hScreenDc = CreateCompatibleDC(NULL);
|
||||
if (hScreenDc == NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue