mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 22:18:13 +00:00
- Fix msvc build of win32k -- reported by Amine.
svn path=/trunk/; revision=42412
This commit is contained in:
parent
8b24ebb671
commit
2591c586a2
1 changed files with 2 additions and 1 deletions
|
@ -685,6 +685,7 @@ EXLATEOBJ_vInitBrushXlate(
|
||||||
{
|
{
|
||||||
HPALETTE hpalDst = NULL;
|
HPALETTE hpalDst = NULL;
|
||||||
PPALETTE ppalDst, ppalPattern;
|
PPALETTE ppalDst, ppalPattern;
|
||||||
|
SURFACE *psurfPattern;
|
||||||
|
|
||||||
ASSERT(pexlo);
|
ASSERT(pexlo);
|
||||||
ASSERT(pbrush);
|
ASSERT(pbrush);
|
||||||
|
@ -702,7 +703,7 @@ EXLATEOBJ_vInitBrushXlate(
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
SURFACE *psurfPattern = SURFACE_ShareLockSurface(pbrush->hbmPattern);
|
psurfPattern = SURFACE_ShareLockSurface(pbrush->hbmPattern);
|
||||||
if (!psurfPattern)
|
if (!psurfPattern)
|
||||||
{
|
{
|
||||||
PALETTE_ShareUnlockPalette(ppalDst);
|
PALETTE_ShareUnlockPalette(ppalDst);
|
||||||
|
|
Loading…
Reference in a new issue