How easy would it be to implement OGL 3.0 in BMAX

BlitzMax Forums/BlitzMax OpenGL Programming/How easy would it be to implement OGL 3.0 in BMAX

Example:
Global glCopyTexSubImage3D(target_:Int,level_:Int,xoffset_:Int,yoffset_:Int,zoffset_:Int,x_:Int,y_:Int,width_:Int,height_:Int)="__glewCopyTexSubImage3D"

becomes...
Function glCopyTexSubImage3D(target_:Int,level_:Int,xoffset_:Int,yoffset_:Int,zoffset_:Int,x_:Int,y_:Int,width_:Int,height_:Int)

????
I don't see ANY extensions being defined in opengl.bmx, just the standard gl1.1 stuff. And yet BMax lets you use extensions from 1.1, so this stuff must be defined somewhere else in blitzmax?

e.g. if I call glCopyTexSubImage3D(), which is a GL 1.2 command, blitz recognizes the command and tells me I am missing some parameters. So that's obviously defined somewhere and used by blitzmax, but not in the opengl.bmx file. Perhaps it's in the glew.bmx file in the glew module? (i'll check there)