diff --git a/internal/restorable/image.go b/internal/restorable/image.go index 41703c1bd..21cd5058f 100644 --- a/internal/restorable/image.go +++ b/internal/restorable/image.go @@ -336,7 +336,7 @@ func (i *Image) WritePixels(pixels []byte, x, y, width, height int) { return } - // Records for DrawTriangles cannot come after records for WritePixels. + // Records for DrawTriangles cannot come before records for WritePixels. if len(i.drawTrianglesHistory) > 0 { i.makeStale(image.Rect(0, 0, i.width, i.height)) return