Mercurial > games > semicongine
diff examples/E10_pong.nim @ 253:ad078e26a1c7
fix: API changes
author | sam <sam@basx.dev> |
---|---|
date | Wed, 24 May 2023 01:31:21 +0700 |
parents | 952428f04ffc |
children | 95281f2db400 |
line wrap: on
line diff
--- a/examples/E10_pong.nim Wed May 24 01:31:02 2023 +0700 +++ b/examples/E10_pong.nim Wed May 24 01:31:21 2023 +0700 @@ -56,7 +56,7 @@ # set up rendering myengine.setRenderer(myengine.gpuDevice.simpleForwardRenderPass(vertexCode, fragmentCode, clearColor=backgroundColor)) - myengine.addScene(level, vertexInput, transformAttribute="transform") + myengine.addScene(level, vertexInput, @[], transformAttribute="transform") level.addShaderGlobal("projection", Unit4f32) var