diff examples/hello_triangle.nim @ 38:c3c963e7c1a6

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 7f99b21a8777
children 2771db8d4276
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,