[Scummvm-git-logs] scummvm master -> 5e227c9bb41f9bd7ec1ab5791a9dfc4d05328939
aquadran
aquadran at gmail.com
Tue Nov 9 16:09:58 UTC 2021
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:
5e227c9bb4 STARK: Added missing upload texture code in software renderer
Commit: 5e227c9bb41f9bd7ec1ab5791a9dfc4d05328939
https://github.com/scummvm/scummvm/commit/5e227c9bb41f9bd7ec1ab5791a9dfc4d05328939
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2021-11-09T17:09:54+01:00
Commit Message:
STARK: Added missing upload texture code in software renderer
Changed paths:
engines/stark/gfx/tinygltexture.cpp
diff --git a/engines/stark/gfx/tinygltexture.cpp b/engines/stark/gfx/tinygltexture.cpp
index c0d6f17642..c1f6cc639f 100644
--- a/engines/stark/gfx/tinygltexture.cpp
+++ b/engines/stark/gfx/tinygltexture.cpp
@@ -102,6 +102,10 @@ void TinyGlTexture::setLevelCount(uint32 count) {
void TinyGlTexture::addLevel(uint32 level, const Graphics::Surface *surface, const byte *palette) {
assert(level < _levelCount);
+
+ if (level == 0) {
+ updateLevel(level, surface, palette);
+ }
}
} // End of namespace Gfx
More information about the Scummvm-git-logs
mailing list