DerelictGL3 glGenBuffers segmentation fault.

Mike Parker aldacron at gmail.com
Sun Dec 24 05:24:57 UTC 2017


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.


More information about the Digitalmars-d-learn mailing list