Usage:
dub.sdl
:
dependency "d-gles20-binding" repository="git+https://github.com/Noeme2D/d-gles20-binding.git" version="<commit hash, 7-40 chars>"
dub.json
:
"dependencies": {
"d-gles20-binding": {
"repository": "git+https://github.com/Noeme2D/d-gles20-binding.git",
"version": "<commit hash, 7-40 chars>"
}
}
Then:
import derelict.gles.gles2;
for both your main and all sources that make GL calls.
Finally in the main:
DerelictGLES2.load();
after a GL context is created and made current.