I need to use shaders in my code and I am trying to get a basic pixel shader working as a first step.
I had to hack in a reference to glew before fltk includes gl.h otherwise I cannot compile the app. My next problem is that when I call glCreateShader I get an exception. This is normally the result of the opengl context not being setup before the call, but I am calling it in the draw method, so the opengl context must be set. Anybody come across this before. _______________________________________________ fltk-opengl mailing list fltk-opengl@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-opengl