From 5bfdc6d29a7f53602521b2e6c87561fd665b3d81 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 5 Mar 2018 11:08:41 +0900 Subject: [PATCH] graphics: The screen filter might be heavy --- graphicscontext.go | 1 - 1 file changed, 1 deletion(-) diff --git a/graphicscontext.go b/graphicscontext.go index 2671ed893..1d2b7fa2b 100644 --- a/graphicscontext.go +++ b/graphicscontext.go @@ -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) }