Mercurial > games > semicongine
changeset 139:34112bf5abf8
add: small buffer adjustment
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 22 Apr 2023 16:52:55 +0700 |
parents | 62bc83b8a8c7 |
children | 29f0109c5222 |
files | examples/E02_squares.nim |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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")]