On Sunday, 24 December 2017 at 05:23:12 UTC, Mike Parker wrote:


If you are going to use glFreeFuncs like this, you can't import opengl that way. As per the DerelictGL3 documentation [1], the simplest way to make this work is to implement a module that publicly imports derelict.opengl and declares the mixin, then import that module elsewehre.

In case that wasn't clear, make sure to replace every current instance of `import derelict.opengl` with `import mygl`, or whatever you happen to name the module.

Reply via email to