From de0b8addc49f80e4e25c7f76e4b4514f52bcc0a3 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 21 Aug 2010 19:26:22 +0000 Subject: SWORD25: Fix stupid error in Blit(). Now it shows stuff! svn-id: r53271 --- engines/sword25/gfx/opengl/glimage.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/sword25/gfx/opengl') 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; -- cgit v1.2.3