Author: fireball
Date: Wed Jan 26 22:12:27 2011
New Revision: 50503
URL:
http://svn.reactos.org/svn/reactos?rev=50503&view=rev
Log:
- PatBlt should use current brush, not pen, for filling. Fixes some parts of the famous
"black background" problem.
See issue #5331 for more details.
Modified:
branches/arwinss/reactos/subsystems/win32/win32k/gdi/bitmap.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/gdi/bitmap.c
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/gdi/bitmap.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/gdi/bitmap.c [iso-8859-1] Wed Jan 26
22:12:27 2011
@@ -310,7 +310,7 @@
pDst = DC_LockDc(physDev);
/* Call the internal helper */
- bRet = GrePatBlt(pDst, left, top, width, height, rop, pDst->dclevel.pbrLine);
+ bRet = GrePatBlt(pDst, left, top, width, height, rop, pDst->dclevel.pbrFill);
/* Release DC objects */
DC_UnlockDc(pDst);