gdi32: Prevent unneeded operations by flag check.
This commit is contained in:
parent
688db4d273
commit
9244cac3af
|
@ -2255,7 +2255,7 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
|
||||||
sinEsc = 0;
|
sinEsc = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lprect)
|
if (lprect && (flags & (ETO_OPAQUE | ETO_CLIPPED)))
|
||||||
{
|
{
|
||||||
rc = *lprect;
|
rc = *lprect;
|
||||||
LPtoDP(hdc, (POINT*)&rc, 2);
|
LPtoDP(hdc, (POINT*)&rc, 2);
|
||||||
|
|
Loading…
Reference in New Issue