mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
graphicsdriver/metal: Bug fix: Wrong usage of RenderPipelineState for screen
This commit is contained in:
parent
84b1c282ff
commit
d724e17032
@ -611,7 +611,7 @@ func (d *Driver) Draw(indexLen int, indexOffset int, mode graphics.CompositeMode
|
||||
}
|
||||
rce := d.cb.MakeRenderCommandEncoder(rpd)
|
||||
|
||||
if d.dst.screen {
|
||||
if d.dst.screen && filter == graphics.FilterScreen {
|
||||
rce.SetRenderPipelineState(d.screenRPS)
|
||||
} else {
|
||||
rce.SetRenderPipelineState(d.rpss[rpsKey{
|
||||
|
Loading…
Reference in New Issue
Block a user