mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-24 18:02:02 +01:00
graphics: The screen filter might be heavy
This commit is contained in:
parent
f1d97a7758
commit
5bfdc6d29a
@ -106,7 +106,6 @@ func (c *graphicsContext) Update(afterFrameUpdate func()) error {
|
||||
// graphics.MaxImageSize should be the maximum size of framebuffer.
|
||||
op.GeoM.Scale(graphics.MaxImageSize/float64(w), graphics.MaxImageSize/float64(h))
|
||||
op.CompositeMode = CompositeModeCopy
|
||||
op.Filter = filterScreen // any filter is fine: just use the same filter as below.
|
||||
c.screen.DrawImage(emptyImage, op)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user