Mercurial > games > semicongine
diff examples/E02_squares.nim @ 600:177bfb85adb1
add: small buffer adjustment
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 22 Apr 2023 16:52:55 +0700 |
parents | 67b44ba428d1 |
children | f41c1b78cf5b |
line wrap: on
line diff
--- a/examples/E02_squares.nim Sat Apr 22 16:48:07 2023 +0700 +++ b/examples/E02_squares.nim Sat Apr 22 16:52:55 2023 +0700 @@ -47,7 +47,7 @@ const vertexInput = @[ attr[Vec3f]("position", memoryLocation=VRAM), - attr[Vec3f]("color", memoryLocation=VRAM), + attr[Vec3f]("color", memoryLocation=VRAMVisible), attr[uint32]("index", memoryLocation=VRAM), ] vertexOutput = @[attr[Vec3f]("outcolor")]