[Scummvm-git-logs] scummvm master -> 96325ec37ea7951d9857139dd80f633d08f64379
aquadran
noreply at scummvm.org
Sun Oct 20 16:36:11 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:
96325ec37e WINTERMUTE: Small sync between renderers
Commit: 96325ec37ea7951d9857139dd80f633d08f64379
https://github.com/scummvm/scummvm/commit/96325ec37ea7951d9857139dd80f633d08f64379
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2024-10-20T18:36:06+02:00
Commit Message:
WINTERMUTE: Small sync between renderers
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 595c93019c4..8038ea06706 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
@@ -699,7 +699,9 @@ bool BaseRenderOpenGL3DShader::setup3D(Camera3D *camera, bool force) {
} else {
_farClipPlane = DEFAULT_FAR_PLANE;
}
-
+ } else {
+ _nearClipPlane = DEFAULT_NEAR_PLANE;
+ _farClipPlane = DEFAULT_FAR_PLANE;
}
bool fogEnabled;
More information about the Scummvm-git-logs
mailing list