easygl
easygl copied to clipboard
a typesafe opengl wrapper for the nim language
The module is not listed on https://nimble.directory. Listing it there would greatly improve discoverability and ease of installation.
This is pasted from my Terminal. I don't know how to read this error message :(. ``` Shader Compile Error (/home/mfg/Documents/easygl/examples/advanced_opengl/shaders/anti_aliasing.vert): #version 330 core layout (location = 0) in vec3...
`..\..\src\easygl.nim(397, 30) Error: type mismatch: got but expected 'GLenum = distinct uint32'` I tried to change to ``` when T is float32: discard vertexType.GL_FLOAT ``` it compiles, but fails with...