diff options
Diffstat (limited to 'graphics/conversion.cpp')
-rw-r--r-- | graphics/conversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/conversion.cpp b/graphics/conversion.cpp index 84f9bcbb9c..db99679d41 100644 --- a/graphics/conversion.cpp +++ b/graphics/conversion.cpp @@ -96,7 +96,7 @@ bool crossBlit(byte *dst, const byte *src, col++; #endif for (uint y = 0; y < h; ++y) { - for (uint x = 0; x < w; ++x, src += 2, dst += 4) { + for (uint x = 0; x < w; ++x, src += 3, dst += 4) { memcpy(col, src, 3); srcFmt.colorToARGB(color, a, r, g, b); color = dstFmt.ARGBToColor(a, r, g, b); |