Your problem is line 60, which doesn't even compile because you're casting 
nothing: 
<https://gist.github.com/jphdotam/f5e2c89e13615c8755fd961ce3e16502#file-main-nim-L60>

I changed that line to this...
    
    
        glVertexAttribPointer(1, 3, EGL_FLOAT, false, GLfloat.sizeof * 7, 
cast[pointer](GLfloat.sizeof * 4))
    
    
    Run

And now i get:

Reply via email to