Author: tkreuzer
Date: Wed Aug 5 00:51:55 2009
New Revision: 42395
URL:
http://svn.reactos.org/svn/reactos?rev=42395&view=rev
Log:
Leftover from r42394, gendib, too
Modified:
trunk/reactos/tools/gendib/gendib.c
Modified: trunk/reactos/tools/gendib/gendib.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/gendib/gendib.c?rev=…
==============================================================================
--- trunk/reactos/tools/gendib/gendib.c [iso-8859-1] (original)
+++ trunk/reactos/tools/gendib/gendib.c [iso-8859-1] Wed Aug 5 00:51:55 2009
@@ -489,7 +489,7 @@
}
if (RopInfo->UsesPattern && 0 != (Flags & FLAG_PATTERNSURFACE))
{
- Output(Out, "Pattern = DIB_GetSource(BltInfo->PatternSurface, PatternX,
PatternY, BltInfo->XlatePatternToDest);\n");
+ Output(Out, "Pattern = DIB_GetSourceIndex(BltInfo->PatternSurface,
PatternX, PatternY);\n");
Output(Out, "if (BltInfo->PatternSurface->sizlBitmap.cx <=
++PatternX)\n");
Output(Out, "{\n");
Output(Out, "PatternX -=
BltInfo->PatternSurface->sizlBitmap.cx;\n");
@@ -618,11 +618,11 @@
{
if (0 == Partial)
{
- Output(Out, "Pattern = DIB_GetSource(BltInfo->PatternSurface,
PatternX, PatternY, BltInfo->XlatePatternToDest);\n");
+ Output(Out, "Pattern =
DIB_GetSourceIndex(BltInfo->PatternSurface, PatternX, PatternY);\n");
}
else
{
- Output(Out, "Pattern |= DIB_GetSource(BltInfo->PatternSurface,
PatternX, PatternY, BltInfo->XlatePatternToDest) << %u;\n", Partial * Bpp);
+ Output(Out, "Pattern |=
DIB_GetSourceIndex(BltInfo->PatternSurface, PatternX, PatternY) << %u;\n",
Partial * Bpp);
}
Output(Out, "if (BltInfo->PatternSurface->sizlBitmap.cx <=
++PatternX)\n");
Output(Out, "{\n");