aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sword25/gfx/opengl/glimage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sword25/gfx/opengl/glimage.cpp b/engines/sword25/gfx/opengl/glimage.cpp
index ccf7c48cf8..ab1e15c229 100644
--- a/engines/sword25/gfx/opengl/glimage.cpp
+++ b/engines/sword25/gfx/opengl/glimage.cpp
@@ -224,10 +224,10 @@ bool GLImage::Blit(int PosX, int PosY, int Flipping, Common::Rect *pPartRect, un
if (*in != 255)
alphawarn = true;
- *in++ = *out++; // TODO: alpha blending
- *in++ = *out++;
- *in++ = *out++;
- *in++ = *out++;
+ *out++ = *in++; // TODO: alpha blending
+ *out++ = *in++;
+ *out++ = *in++;
+ *out++ = *in++;
}
outo += _backSurface->pitch;
ino += m_Width * 4;