Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eww, useless parens
Browse files Browse the repository at this point in the history
Desour committed Jan 5, 2025
1 parent 41e2c76 commit 34c54d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions irr/src/OpenGL/Driver.cpp
Original file line number Diff line number Diff line change
@@ -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 :

0 comments on commit 34c54d3

Please sign in to comment.