metal: don't try to enable blending with integer canvases.

This commit is contained in:
Sasha Szpakowski
2024-08-14 19:15:23 -03:00
parent 8e2fc44a65
commit 9d5828a62f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1001,7 +1001,7 @@ void Graphics::applyRenderState(id<MTLRenderCommandEncoder> encoder, const Verte
key.blend = state.blend;
key.colorChannelMask = state.colorMask;
pipeline = shader->getCachedRenderPipeline(key);
pipeline = shader->getCachedRenderPipeline(this, key);
}
[encoder setRenderPipelineState:pipeline];