From 85ef4290b8818717ec40bdb388522411e902a9f4 Mon Sep 17 00:00:00 2001 From: faiface <faiface@ksp.sk> Date: Sun, 21 May 2017 15:31:07 +0200 Subject: [PATCH] update Sprite's doc --- sprite.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/sprite.go b/sprite.go index 45989d6..0c14bbf 100644 --- a/sprite.go +++ b/sprite.go @@ -9,9 +9,6 @@ import "image/color" // // sprite := pixel.NewSprite(pic, pic.Bounds()) // -// To achieve different anchoring, transformations and color masking, use SetMatrix and SetColorMask -// methods. -// // Note, that Sprite caches the results of MakePicture from Targets it's drawn to for each Picture // it's set to. What it means is that using a Sprite with an unbounded number of Pictures leads to a // memory leak, since Sprite caches them and never forgets. In such a situation, create a new Sprite -- GitLab