On Tuesday, 14 June 2016 at 16:08:03 UTC, Steven Schveighoffer wrote:
On 6/14/16 11:29 AM, Joerg Joergonson wrote:
                [...]

Your aliases are a bunch of function pointer types. This isn't what you likely want.

I'm assuming you want to bring the existing functions into more categorized namespaces? What you need is to do this:

public static struct fGL
{
alias CullFace = .CullFace; // or whatever the fully qualified name is.

I don't have much experience with the opengl modules, so I can't be more specific.

-Steve

This is how derelict does it, I simply moved them in to the class for simplicity.


Reply via email to