Mercurial > games > semicongine
diff examples/E02_squares.nim @ 139:34112bf5abf8
add: small buffer adjustment
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 22 Apr 2023 16:52:55 +0700 |
parents | ac2b6777c5db |
children | a4e6e76128e6 |
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")]