Browse Source

Fix typo in Metal code for shader switching.

Alex Szpakowski 3 years ago
parent
commit
131b53d795
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/metal/Graphics.mm

+ 1 - 1
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;
 }