[Scummvm-cvs-logs] scummvm master -> 693ee5ea2b27ac7066e444970cd90faf0b5b231e
sev-
sev at scummvm.org
Sat Jun 4 00:33:57 CEST 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
693ee5ea2b IMAGE: 1bpp BMPs are not upside down. Fixing it.
Commit: 693ee5ea2b27ac7066e444970cd90faf0b5b231e
https://github.com/scummvm/scummvm/commit/693ee5ea2b27ac7066e444970cd90faf0b5b231e
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-06-04T00:33:21+02:00
Commit Message:
IMAGE: 1bpp BMPs are not upside down. Fixing it.
Changed paths:
image/codecs/bmp_raw.cpp
diff --git a/image/codecs/bmp_raw.cpp b/image/codecs/bmp_raw.cpp
index f810678..bab96f6 100644
--- a/image/codecs/bmp_raw.cpp
+++ b/image/codecs/bmp_raw.cpp
@@ -54,7 +54,7 @@ const Graphics::Surface *BitmapRawDecoder::decodeFrame(Common::SeekableReadStrea
}
if (_bitsPerPixel == 1) {
- for (int i = _height - 1; i >= 0; i--) {
+ for (int i = 0; i < _height; i++) {
byte *dst = (byte *)_surface->getBasePtr(0, i);
for (int j = 0; j != _width;) {
byte color = stream.readByte();
More information about the Scummvm-git-logs
mailing list