diff tests/test_materials.nim @ 384:eaf084ba80e5

fix: cleanup when multiple textures use same vulkan image
author Sam <sam@basx.dev>
date Sun, 03 Dec 2023 00:05:38 +0700
parents fa38cd28f041
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,