mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:32:57 +00:00
[WIN32SS][NTGDI] Unite duplicate of condition 'UsesSource'
This commit is contained in:
parent
1bf982ff88
commit
6fc6e3c398
1 changed files with 4 additions and 9 deletions
|
@ -470,17 +470,12 @@ NtGdiMaskBlt(
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if (UsesSource)
|
if (UsesSource)
|
||||||
{
|
|
||||||
{
|
{
|
||||||
BitmapSrc = DCSrc->dclevel.pSurface;
|
BitmapSrc = DCSrc->dclevel.pSurface;
|
||||||
if (!BitmapSrc)
|
if (!BitmapSrc)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Create the XLATEOBJ. */
|
/* Create the XLATEOBJ. */
|
||||||
if (UsesSource)
|
|
||||||
{
|
|
||||||
EXLATEOBJ_vInitXlateFromDCs(&exlo, DCSrc, DCDest);
|
EXLATEOBJ_vInitXlateFromDCs(&exlo, DCSrc, DCDest);
|
||||||
XlateObj = &exlo.xlo;
|
XlateObj = &exlo.xlo;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue