How do you create an opengl window with DerelictOrg?
BLM768 via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Dec 7 14:01:15 PST 2015
On Monday, 7 December 2015 at 21:33:57 UTC, Enjoys Math wrote:
> I've seen these:
> BUt not sure how to use them, examples?
OpenGL itself can't create a window/context, so you'll need to
use DerelictGLFW or DerelictSDL. GLFW is lighter-weight.
Combine the setup code from here:
...with the example code from here:
Don't forget to load DerelictGL when you load DerelictGLFW. In
addition, after you have the OpenGL context, you'll need to call
DerelictGL3.reload() if you want anything more advanced than
More information about the Digitalmars-d-learn