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.