From 131b53d7957bc53e7a047b98a4f61b1f702b7e15 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 18 Jun 2022 17:15:20 -0300 Subject: [PATCH] Fix typo in Metal code for shader switching. --- src/modules/graphics/metal/Graphics.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/metal/Graphics.mm b/src/modules/graphics/metal/Graphics.mm index a12b2cc5f..0ceffda5e 100644 --- a/src/modules/graphics/metal/Graphics.mm +++ b/src/modules/graphics/metal/Graphics.mm @@ -527,7 +527,7 @@ void Graphics::setActive(bool enable) void Graphics::setShaderChanged() { - dirtyRenderState |= STATE_SHADER; + dirtyRenderState |= STATEBIT_SHADER; ++shaderSwitches; }