mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[Win32k]
- Fix api test crash. svn path=/trunk/; revision=57698
This commit is contained in:
@@ -1154,6 +1154,12 @@ UserDrawIconEx(
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (!psurfColor)
|
||||
{
|
||||
ERR("Attention HAX FIX API DrawIconEx TEST Line 37: psurfColor is NULL going with Mask!\n");
|
||||
psurfColor = SURFACE_ShareLockSurface(hbmMask);
|
||||
}
|
||||
|
||||
psurfOffScreen = SURFACE_AllocSurface(STYPE_BITMAP,
|
||||
cxWidth, cyHeight, psurfColor->SurfObj.iBitmapFormat,
|
||||
0, 0, NULL);
|
||||
|
||||
Reference in New Issue
Block a user