mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 02:13:29 +00:00
[win32k]
-Add a hack to GreStretchBltMask to return TRUE when a dimension is 0. After some investigation it seems that windows returns TRUE in such a case but couldn't investigate more if this change is really correct. This hack is needed because a drawing operation in uxtheme is aborted when StretchBlt returns FALSE svn path=/branches/GSoC_2011/ThemesSupport/; revision=52631
This commit is contained in:
parent
29e5fe2299
commit
7d376ed435
|
@ -660,7 +660,7 @@ GreStretchBltMask(
|
|||
if (0 == WidthDest || 0 == HeightDest || 0 == WidthSrc || 0 == HeightSrc)
|
||||
{
|
||||
EngSetLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
DPRINT("Locking DCs\n");
|
||||
|
|
Loading…
Reference in a new issue