DerelictGL3 and glBegin() access violation.

Mike Parker aldacron at gmail.com
Wed Feb 28 13:53:10 UTC 2018


On Wednesday, 28 February 2018 at 12:02:27 UTC, Kayomn wrote:

> Is this a DerelictGL3 bug? Am I missing something else that I 
> should be initializing? Other things like glClear() seem to be 
> working fine.

No, not a bug. glBegin is one of the deprecated OpenGL functions. 
DerelictGL3 these days doesn't attempt to load any of the 
deprecated stuff unless you explicitly tell it to. To do so, you 
need to override the default behavior at compile time. Please see 
the DerelictGL3 documentation for the details:

http://derelictorg.github.io/packages/gl3/


More information about the Digitalmars-d-learn mailing list