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 :