diff --git a/Source/Render/Textures/BitmapPixels.cpp b/Source/Render/Textures/BitmapPixels.cpp index c6a1baf41..acfadd91f 100644 --- a/Source/Render/Textures/BitmapPixels.cpp +++ b/Source/Render/Textures/BitmapPixels.cpp @@ -194,8 +194,8 @@ void CDCBitmap::CopyFrom(int x, int y, int sourceX, int sourceY, int copyWidth, } } - destination += this->m_bitmap.width; input += source.m_bitmap.width; + destination += this->m_bitmap.width; } }