in my openglsurface i define some opengl functions like
Declare Sub glTexCoord2d Lib OpenGLLib (s As Double, t As Double)
which means every frame i have 40+ declares being run for ever frame, bad news. I read that they should live in a module, however if i cannot find a way to put them in a module that the render loop can see. ive created a module called gl, made a method and put them in which is what it seems to say in all the documentation then try to access them with gl. it does not find them. Anyone any ideas?