OCD commit.

This commit is contained in:
Leon Styhre 2021-08-19 21:51:42 +02:00
parent 91879c9b4a
commit 655340a94c

View file

@ -281,7 +281,7 @@ namespace Renderer
runShader->activateShaders();
runShader->setModelViewProjectionMatrix(getProjectionMatrix() * trans);
vertices->opacity < 1.0f ? runShader->setOpacity(vertices->opacity) :
runShader->setOpacity(parameters.fragmentOpacity);
runShader->setOpacity(parameters.fragmentOpacity);
GL_CHECK_ERROR(glDrawArrays(GL_TRIANGLE_STRIP, 0, numVertices));
runShader->deactivateShaders();
}