Author: gschneider
Date: Tue Aug 11 15:39:40 2009
New Revision: 42615
URL:
http://svn.reactos.org/svn/reactos?rev=42615&view=rev
Log:
Don't access the pattern GetPixel function pointer if it hasn't been set
Modified:
trunk/reactos/subsystems/win32/win32k/dib/stretchblt.c
Modified: trunk/reactos/subsystems/win32/win32k/dib/stretchblt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/di…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/dib/stretchblt.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/dib/stretchblt.c [iso-8859-1] Tue Aug 11
15:39:40 2009
@@ -144,7 +144,7 @@
}
}
- if (CanDraw)
+ if (UsesPattern && CanDraw)
{
if (PatternSurface)
{