Mercurial > games > semicongine
diff tests/test_materials.nim @ 795:4a15d94d9418
fix: remaining tests and an issue with updating uniforms
author | Sam <sam@basx.dev> |
---|---|
date | Mon, 04 Sep 2023 00:48:00 +0700 |
parents | c31e42d72253 |
children | b83b3a1ccb05 |
line wrap: on
line diff
--- a/tests/test_materials.nim Mon Sep 04 00:31:17 2023 +0700 +++ b/tests/test_materials.nim Mon Sep 04 00:48:00 2023 +0700 @@ -38,8 +38,8 @@ ], uniforms=[attr[float32]("test2", arrayCount=2)], samplers = @[ - attr[Sampler2DType]("tex1", arrayCount=2), - attr[Sampler2DType]("tex2", arrayCount=2), + attr[Texture]("tex1", arrayCount=2), + attr[Texture]("tex2", arrayCount=2), ], outputs=[attr[Vec4f]("color")], vertexCode="""