Strange segfault (Derelict/OpenGL)

ponce via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 29 05:41:37 PDT 2014


On Friday, 29 August 2014 at 11:23:34 UTC, Robin Schroer wrote:
> I'm not entirely sure where to post, so I will put it here.
>
> I'm playing around with D and Derelict 3 to make something with 
> OpenGL (don't really know what yet). I managed to open a 
> window, add an OpenGL context, clear the screen and flip 
> buffers. But as soon as I try to render a triangle, my program 
> crashes.

As John Colvin said, forgetting to call DerelictGL3.reload() is a 
common error.


More information about the Digitalmars-d-learn mailing list