On 6/14/16 1:37 PM, Joerg Joergonson wrote:
On Tuesday, 14 June 2016 at 17:34:42 UTC, Joerg Joergonson wrote:
This is how derelict does it, I simply moved them in to the class for
simplicity.
I mean glad: http://glad.dav1d.de/
It seems that a loader is required for some reason and that possibly
could be one or both of the problems.
I don't know what glad is doing. What I do know is that if you have an
alias like this:
alias CullFace = void function(tGL.Enum);
This is type alias, saying variables of type CullFace will be pointers
to functions that return void, and take tGL.Enum type.
If you attempt to "call" a type, then I don't think it works, you need a
variable of that type to call it. I think this is why you see such
strange errors.
It's possible a loader will fill in the details. I don't know.
-Steve