From 34c54d310732c959474db6889b640a8e56365f79 Mon Sep 17 00:00:00 2001 From: Desour Date: Sun, 5 Jan 2025 22:06:33 +0100 Subject: [PATCH] eww, useless parens --- irr/src/OpenGL/Driver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irr/src/OpenGL/Driver.cpp b/irr/src/OpenGL/Driver.cpp index 5954eb4de5121..25c9a14f68ef6 100644 --- a/irr/src/OpenGL/Driver.cpp +++ b/irr/src/OpenGL/Driver.cpp @@ -1314,8 +1314,8 @@ void COpenGL3DriverBase::setBasicRenderStates(const SMaterial &material, const S // fillmode if (Version.Spec != OpenGLSpec::ES && // not supported in gles (resetAllRenderStates || - (lastmaterial.Wireframe != material.Wireframe) || - (lastmaterial.PointCloud != material.PointCloud))) { + lastmaterial.Wireframe != material.Wireframe || + lastmaterial.PointCloud != material.PointCloud)) { GL.PolygonMode(GL_FRONT_AND_BACK, material.Wireframe ? GL_LINE : material.PointCloud ? GL_POINT :