From 99b7e85d3d4b2135ac15f2a754b8fa5bb6072a71 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 4 Sep 2016 01:08:33 +0900 Subject: [PATCH] graphics: Remove imageImpl.filter --- imageimpl.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/imageimpl.go b/imageimpl.go index d6157c3fd..b7acd9e45 100644 --- a/imageimpl.go +++ b/imageimpl.go @@ -31,7 +31,6 @@ type imageImpl struct { disposed bool width int height int - filter Filter restorable *restorable.Image volatile bool screen bool @@ -46,7 +45,6 @@ func newImageImpl(width, height int, filter Filter, volatile bool) (*imageImpl, i := &imageImpl{ width: width, height: height, - filter: filter, restorable: img, volatile: volatile, } @@ -78,7 +76,6 @@ func newImageImplFromImage(source image.Image, filter Filter) (*imageImpl, error i := &imageImpl{ width: w, height: h, - filter: filter, restorable: img, } i.restorable.ReplacePixels(p)