changeset 600:177bfb85adb1

add: small buffer adjustment
author Sam <sam@basx.dev>
date Sat, 22 Apr 2023 16:52:55 +0700
parents 5eadc1e1d6d8
children 7e54bbbcffba
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")]