From f14f3b6456b838c47bb6f87894d49c4709a5c5ea Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 26 May 2020 00:27:57 +0900 Subject: [PATCH] restorable: Fix comments --- internal/restorable/shader_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/restorable/shader_test.go b/internal/restorable/shader_test.go index 81d5344e6..8d22ce81e 100644 --- a/internal/restorable/shader_test.go +++ b/internal/restorable/shader_test.go @@ -152,7 +152,8 @@ func TestShaderDispose(t *testing.T) { } img.DrawTriangles(nil, quadVertices(1, 1, 0, 0), graphics.QuadIndices(), nil, driver.CompositeModeCopy, driver.FilterNearest, driver.AddressClampToZero, s, us) - // Dispose the shader. This should invalidates (= being stale) all the images using this shader. + // Dispose the shader. This should invalidates all the images using this shader i.e., all the images become + // stale. s.Dispose() if err := ResolveStaleImages(); err != nil {