diff options
author | Eugene Sandulenko | 2010-08-21 19:26:22 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 23:11:18 +0000 |
commit | de0b8addc49f80e4e25c7f76e4b4514f52bcc0a3 (patch) | |
tree | 96b190a57ce5e8f010fc55ec9604be8e482ab3db | |
parent | bab1358e51ab1e457f98b5d8f4e8550b2bcfefc0 (diff) | |
download | scummvm-rg350-de0b8addc49f80e4e25c7f76e4b4514f52bcc0a3.tar.gz scummvm-rg350-de0b8addc49f80e4e25c7f76e4b4514f52bcc0a3.tar.bz2 scummvm-rg350-de0b8addc49f80e4e25c7f76e4b4514f52bcc0a3.zip |
SWORD25: Fix stupid error in Blit(). Now it shows stuff!
svn-id: r53271
-rw-r--r-- | engines/sword25/gfx/opengl/glimage.cpp | 8 |
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; |