mirror of
https://github.com/love2d/love.git
synced 2026-08-19 12:14:20 +02:00
metal: don't try to enable blending with integer canvases.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user