From 9a75e266d48e47f9359d9f04ab1eee34a9ca99e2 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 20 Nov 2022 23:18:40 +0900 Subject: [PATCH] internal/graphicsdriver: fix comments --- internal/graphicsdriver/metal/graphics_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/graphicsdriver/metal/graphics_darwin.go b/internal/graphicsdriver/metal/graphics_darwin.go index 9a3e456bc..a10634d2b 100644 --- a/internal/graphicsdriver/metal/graphics_darwin.go +++ b/internal/graphicsdriver/metal/graphics_darwin.go @@ -577,7 +577,7 @@ func (g *Graphics) DrawTriangles(dstID graphicsdriver.ImageID, srcIDs [graphics. t := g.shaders[shaderID].ir.Uniforms[i] switch t.Main { case shaderir.Vec3: - // float3x3 requires 16-byte alignment (#2463). + // float3 requires 16-byte alignment (#2463). v1 := make([]uint32, 4) copy(v1[0:3], v[0:3]) uniformVars[i] = v1