[Scummvm-git-logs] scummvm master -> 942900eebd65014153a93e1d04330acd94d093bf
aquadran
noreply at scummvm.org
Fri Oct 3 12:43:05 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
942900eebd WINTERMUTE: Small correction for surface creation for TinyGL
Commit: 942900eebd65014153a93e1d04330acd94d093bf
https://github.com/scummvm/scummvm/commit/942900eebd65014153a93e1d04330acd94d093bf
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-10-03T14:42:57+02:00
Commit Message:
WINTERMUTE: Small correction for surface creation for TinyGL
Changed paths:
engines/wintermute/base/gfx/tinygl/base_surface_tinygl.cpp
diff --git a/engines/wintermute/base/gfx/tinygl/base_surface_tinygl.cpp b/engines/wintermute/base/gfx/tinygl/base_surface_tinygl.cpp
index 98f4f0a92ff..3e969270d07 100644
--- a/engines/wintermute/base/gfx/tinygl/base_surface_tinygl.cpp
+++ b/engines/wintermute/base/gfx/tinygl/base_surface_tinygl.cpp
@@ -274,7 +274,7 @@ bool BaseSurfaceTinyGL::create(int width, int height) {
tglGenTextures(1, &_tex);
}
tglBindTexture(TGL_TEXTURE_2D, _tex);
- tglTexImage2D(TGL_TEXTURE_2D, 0, TGL_RGBA, _texWidth, _texHeight, 0, TGL_RGBA, TGL_UNSIGNED_BYTE, nullptr);
+ tglTexImage2D(TGL_TEXTURE_2D, 0, TGL_RGBA, _width, _height, 0, TGL_RGBA, TGL_UNSIGNED_BYTE, nullptr);
tglBindTexture(TGL_TEXTURE_2D, 0);
}
_valid = true;
More information about the Scummvm-git-logs
mailing list