diff tests/test_materials.nim @ 845:19b5051d6eb7

fix: cleanup when multiple textures use same vulkan image
author Sam <sam@basx.dev>
date Sun, 03 Dec 2023 00:05:38 +0700
parents 0d46e6638bd6
children ffc265916415
line wrap: on
line diff
--- a/tests/test_materials.nim	Sat Dec 02 22:26:45 2023 +0700
+++ b/tests/test_materials.nim	Sun Dec 03 00:05:38 2023 +0700
@@ -16,7 +16,7 @@
   swiss = loadImage("flag.png")
   doubleTextureMaterial = MaterialType(
     name:"Double texture",
-    meshAttributes: {
+    vertexAttributes: {
       "position": Vec3F32,
       "uv": Vec2F32,
     }.toTable,