From 0127a8ae2103acc8892b7864f6661c8d4ded5ff5 Mon Sep 17 00:00:00 2001 From: faiface Date: Wed, 8 Mar 2017 16:57:02 +0100 Subject: [PATCH] clarify doc --- pixelgl/canvas.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pixelgl/canvas.go b/pixelgl/canvas.go index 7c2d781..b3a57a1 100644 --- a/pixelgl/canvas.go +++ b/pixelgl/canvas.go @@ -159,8 +159,7 @@ func (c *Canvas) SetColorMask(col color.Color) { // SetBounds resizes the Canvas to the new bounds. Old content will be preserved. // -// If this Canvas was created using Slice-ing, then the relation between this Canvas and it's -// Original is unspecified (but Original will always return valid stuff). +// If the new Bounds fit into the Original capacity bounds, no new Canvas will be allocated. func (c *Canvas) SetBounds(bounds pixel.Rect) { c.bounds = bounds