DerelictGL3 reload crashes in 32 builds

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 20 19:40:59 PDT 2017


On Sunday, 20 August 2017 at 19:29:55 UTC, Igor wrote:
> In 64 bit builds it works with both LDC and DMD but in 32 bit 
> LDC version crashes and DMD release version crashes. Using LDC 
> debug build I managed to find that it crashes after executing 
> ret instruction from bindGLFunc in glloader. If someone wants 
> to try it you can do it with this project: 
> https://github.com/igor84/dngin. I was testing this from Visual 
> Studio but dub 32 bit LDC build also crashed.
>
> Am I doing something wrong or is this some known DerelictGL3 or 
> compiler issue?

This is a known issue [1] that I'm currently trying to resolve. I 
hadn't yet tested it using free functions (the bug report uses 
context types), so this new information helps.

[1] https://github.com/DerelictOrg/DerelictGL3/issues/56




More information about the Digitalmars-d-learn mailing list