I am trying to use OpenGL functions in separate .cpp files within one project (VC++). I need to call some GL functions in separate files after initializing everything in one file. By just including the gl.h in a separate file it is obviously not defining anything. Is there a way to pass or get a reference to the OpenGL stuff from the main .cpp to the other .cpp’s? It would be devestating to what I am trying to
accomplish if it all has to be in a single file. Please help.