diff --git a/internal/atlas/image.go b/internal/atlas/image.go index d8be19e0e..650d2d228 100644 --- a/internal/atlas/image.go +++ b/internal/atlas/image.go @@ -156,6 +156,7 @@ const ( // A screen image is also unmanaged. ImageTypeScreen + // ImageTypeVolatile is a volatile image that is cleared every frame. ImageTypeVolatile // ImageTypeUnmanaged is an unmanaged image that is not on an atlas. diff --git a/internal/graphicscommand/shader.go b/internal/graphicscommand/shader.go index d55c82eb2..40f2f2f05 100644 --- a/internal/graphicscommand/shader.go +++ b/internal/graphicscommand/shader.go @@ -31,7 +31,9 @@ type Shader struct { shader graphicsdriver.Shader ir *shaderir.Program id int - name string + + // name is used only for logging. + name string } func NewShader(ir *shaderir.Program, name string) *Shader {