flyx / OpenGLAda

Thick Ada binding for OpenGL and GLFW
flyx.github.io/OpenGLAda/
MIT License
95 stars 13 forks source link

Problem with `gl-objects-shaders.adb` #123

Closed rogermc2 closed 6 years ago

rogermc2 commented 6 years ago

gl-objects-shaders.compile now fails.with:

raised GL.TEXT.RENDERING_ERROR : could not compile vertex shader:
ERROR: 0:1: '' :  #version required and missing.
ERROR: 0:1: 'version' : syntax error: syntax error

I think that C_Source (1)'Unchecked_Access should be C_Source (0)'Unchecked_Access