[Scummvm-git-logs] scummvm master -> 3481e00e7ad5da18c4ad68765b0901fe02f1d017
dreammaster
paulfgilbert at gmail.com
Thu Mar 5 03:20:00 UTC 2020
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:
3481e00e7a ULTIMA8: Set pitch when configuring a surface texture
Commit: 3481e00e7ad5da18c4ad68765b0901fe02f1d017
https://github.com/scummvm/scummvm/commit/3481e00e7ad5da18c4ad68765b0901fe02f1d017
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2020-03-04T19:19:55-08:00
Commit Message:
ULTIMA8: Set pitch when configuring a surface texture
Changed paths:
engines/ultima/ultima8/graphics/base_soft_render_surface.cpp
diff --git a/engines/ultima/ultima8/graphics/base_soft_render_surface.cpp b/engines/ultima/ultima8/graphics/base_soft_render_surface.cpp
index 6f5f2465ed..2dee489499 100644
--- a/engines/ultima/ultima8/graphics/base_soft_render_surface.cpp
+++ b/engines/ultima/ultima8/graphics/base_soft_render_surface.cpp
@@ -220,6 +220,7 @@ BaseSoftRenderSurface::BaseSoftRenderSurface(int w, int h) :
_rttTex->w = _width;
_rttTex->h = _height;
_rttTex->_format = TEX_FMT_NATIVE;
+ _rttTex->pitch = _pitch;
_rttTex->CalcLOG2s();
SetPixelsPointer();
More information about the Scummvm-git-logs
mailing list