[Scummvm-git-logs] scummvm master -> 95ed6233ff5a55a3aa592870652b9bf73b54c3ec
digitall
547637+digitall at users.noreply.github.com
Tue Oct 19 18:48:31 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:
95ed6233ff STARK: Fix GCC Variable Shadowing Warning
Commit: 95ed6233ff5a55a3aa592870652b9bf73b54c3ec
https://github.com/scummvm/scummvm/commit/95ed6233ff5a55a3aa592870652b9bf73b54c3ec
Author: D G Turner (digitall at scummvm.org)
Date: 2021-10-19T19:48:08+01:00
Commit Message:
STARK: Fix GCC Variable Shadowing Warning
Changed paths:
engines/stark/gfx/openglprop.cpp
diff --git a/engines/stark/gfx/openglprop.cpp b/engines/stark/gfx/openglprop.cpp
index 25b0e4031a..74dc556a2f 100644
--- a/engines/stark/gfx/openglprop.cpp
+++ b/engines/stark/gfx/openglprop.cpp
@@ -143,8 +143,6 @@ void OpenGLPropRenderer::render(const Math::Vector3d &position, float direction,
Math::Vector3d modelEyeNormal = normalMatrix.getRotation() * Math::Vector3d(vertex.nx, vertex.ny, vertex.nz);
modelEyeNormal.normalize();
- static const uint maxLights = 10;
-
assert(lights.size() >= 1);
assert(lights.size() <= maxLights);
More information about the Scummvm-git-logs
mailing list