Amendment to r42615: add the check in the correct line

svn path=/trunk/; revision=42627
This commit is contained in:
Gregor Schneider 2009-08-11 19:50:42 +00:00
parent abc65bc027
commit 864fd31512

View file

@ -144,9 +144,9 @@ BOOLEAN DIB_XXBPP_StretchBlt(SURFOBJ *DestSurf, SURFOBJ *SourceSurf, SURFOBJ *Ma
}
}
if (UsesPattern && CanDraw)
if (CanDraw)
{
if (PatternSurface)
if (UsesPattern && PatternSurface)
{
Pattern = fnPattern_GetPixel(PatternSurface, PatternX, PatternY);
PatternX++;