Derelict OpenGL basic program does not work but OpenGL does not say anything is wrong?
Nils Forsman via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Feb 13 00:18:55 PST 2015
void main(){
DerelictGL3.load();
//create your sdl context, window hints,
DerelictGL3.reload();
//Do other stuff...
}
You got to have a valid context before you call reload. These two
functions shall be called only once, I have the impression that
you call them multiple times.
More information about the Digitalmars-d-learn
mailing list