flyx / OpenGLAda

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

GL.Fixed.Lighting fails to compile under GNAT Community 2019 #136

Closed rogermc2 closed 5 years ago

rogermc2 commented 5 years ago

I have installed GNAT Community 2019. However, GL.Fixed.Lighting compilation fails with:

gl-fixed-lighting.ads:75:13: warning: use of an anonymous access type allocator

This warning is occurs for each item in Lights : constant array.

flyx commented 5 years ago

This should be fixed with the merging of #126, right?

flyx commented 5 years ago

I just removed the whole code that caused this. It was idiotic and could be done without allocating anything on the heap.