diff options
Diffstat (limited to 'src/blitter')
-rw-r--r-- | src/blitter/32bpp_optimized.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/blitter/32bpp_optimized.cpp b/src/blitter/32bpp_optimized.cpp index fa1f0bb38..beafcff37 100644 --- a/src/blitter/32bpp_optimized.cpp +++ b/src/blitter/32bpp_optimized.cpp @@ -356,6 +356,10 @@ template <bool Tpal_to_rgb> Sprite *Blitter_32bppOptimized::EncodeInternal(const dst_px->r = colour.r; dst_px->g = colour.g; dst_px->b = colour.b; + } else { + dst_px->r = src->r; + dst_px->g = src->g; + dst_px->b = src->b; } } else { dst_px->r = src->r; |