[Scummvm-git-logs] scummvm master -> 99c37e2f9b2eec21825da1c8bbee9cf8861715b2
aquadran
noreply at scummvm.org
Mon Oct 14 08:19:44 UTC 2024
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:
99c37e2f9b WINTERMUTE: Coverity fix CID: 1563757
Commit: 99c37e2f9b2eec21825da1c8bbee9cf8861715b2
https://github.com/scummvm/scummvm/commit/99c37e2f9b2eec21825da1c8bbee9cf8861715b2
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2024-10-14T10:19:38+02:00
Commit Message:
WINTERMUTE: Coverity fix CID: 1563757
Changed paths:
engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
diff --git a/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp b/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
index 98e4da43f1e..fdf18963a78 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
@@ -627,7 +627,7 @@ bool BaseRenderOpenGL3DShader::setup3D(Camera3D *camera, bool force) {
_fov = _camera->_fov;
if (_camera->_nearClipPlane >= 0.0f) {
- _nearClipPlane = camera->_nearClipPlane;
+ _nearClipPlane = _camera->_nearClipPlane;
}
if (_camera->_farClipPlane >= 0.0f) {
More information about the Scummvm-git-logs
mailing list