Mercurial > games > semicongine
diff tests/test_font.nim @ 316:b145a05c2459
add: changing rendering system, not finished yet, also upgrading to Nim 2
author | Sam <sam@basx.dev> |
---|---|
date | Mon, 07 Aug 2023 00:23:00 +0700 |
parents | bfcb41211c5b |
children | 04531bec3583 |
line wrap: on
line diff
--- a/tests/test_font.nim Sun Jul 23 19:59:47 2023 +0700 +++ b/tests/test_font.nim Mon Aug 07 00:23:00 2023 +0700 @@ -45,7 +45,7 @@ var engine = initEngine("Test fonts") engine.setRenderer(engine.gpuDevice.simpleForwardRenderPass(vertexCode, fragmentCode)) - engine.addScene(scene, vertexInput, samplers) + engine.addScene(scene, vertexInput, samplers, materialIndexAttribute="") scene.addShaderGlobal("perspective", Unit4F32) while engine.updateInputs() == Running and not engine.keyIsDown(Escape):