On Wednesday, 28 February 2018 at 14:02:48 UTC, Mike Parker wrote:
On Wednesday, 28 February 2018 at 12:02:27 UTC, Kayomn wrote:
import derelict.opengl3.gl3;
Whoa. Just noticed this. That's an older version of DerelictGL3
you're using there. You should really be using the latest
version of both DerelictGL3 and DerelictGLFW3. The -alpha
versions are what I recommend. They're perfectly fine, despite
the -alpha in the version tag.
But if you want to continue with the old 1.x version of
DerelictGL3, then you can get access to the deprecated stuff by
replacing the `gl3` import with `gl` can using `DerelictGL` in
place of `DerelictGL3`:
========
import derelict.opengl3.gl;
...
DerelictGL.load();
DerelictGL.reload();
========
Note that this also loads all of the same stuff as DerelictGL3,
so you don't need to make use of that anywhere.
Yeah, I knew they were deprecated, just weren't aware Derelict
doesn't load them. Thanks though, I'd been up and down the
Derelict docs page and I didn't see anything about this.