This is a short example using Derelict 3, GLFW 3 and OpenGL 3.
Adopted from:
- http://www.lighthouse3d.com/cg-topics/code-samples/opengl-3-3-glsl-1-5-sample
- http://open.gl/drawing
Requires OpenGL 3+ and GLFW 3+.
Build and run using DUB.
DerelictGLFW3 is looking for
libglfw.3.dylib
instead of libglfw3.dylib
. See this pull request: DerelictOrg/DerelictGLFW3#2.