Mercurial > games > semicongine
diff examples/hello_triangle.nim @ 499:3f1111f3b9f8
did: tons of stuff, input, refactoring, fix some errors, some template improvment, sorry for super-commit
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 18 Jan 2023 09:52:03 +0700 |
parents | b41733878bc6 |
children | e89fceb5a3a2 |
line wrap: on
line diff
--- a/examples/hello_triangle.nim Mon Jan 16 00:51:03 2023 +0700 +++ b/examples/hello_triangle.nim Wed Jan 18 09:52:03 2023 +0700 @@ -55,7 +55,7 @@ # upload data, prepare shaders, etc const vertexShader = generateVertexShaderCode[VertexDataA, void]() const fragmentShader = generateFragmentShaderCode[VertexDataA]() - pipeline = setupPipeline[VertexDataA, void, uint16]( + pipeline = setupPipeline[VertexDataA, void, void]( myengine, triangle, vertexShader,