[Scummvm-git-logs] scummvm master -> 319b1b3d2274e417c5a135e7d1ed95f860b1cf56
eriktorbjorn
eriktorbjorn at telia.com
Sat Oct 2 12:20:24 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:
319b1b3d22 GRIM: Silence GCC warning
Commit: 319b1b3d2274e417c5a135e7d1ed95f860b1cf56
https://github.com/scummvm/scummvm/commit/319b1b3d2274e417c5a135e7d1ed95f860b1cf56
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-10-02T14:19:47+02:00
Commit Message:
GRIM: Silence GCC warning
Though it seems a bit consistent that _numFaces is signed here, and
unsigned in other classes.
Changed paths:
engines/grim/gfx_opengl_shaders.cpp
diff --git a/engines/grim/gfx_opengl_shaders.cpp b/engines/grim/gfx_opengl_shaders.cpp
index c8f7049e38..ccb315f84e 100644
--- a/engines/grim/gfx_opengl_shaders.cpp
+++ b/engines/grim/gfx_opengl_shaders.cpp
@@ -538,7 +538,7 @@ void GfxOpenGLS::getScreenBoundingBox(const Mesh *model, int *x1, int *y1, int *
Math::Vector3d obj;
float *pVertices = nullptr;
- for (uint i = 0; i < model->_numFaces; i++) {
+ for (int i = 0; i < model->_numFaces; i++) {
for (int j = 0; j < model->_faces[i].getNumVertices(); j++) {
pVertices = model->_vertices + 3 * model->_faces[i].getVertex(j);
More information about the Scummvm-git-logs
mailing list