How to load texture in OpenGL

BlitzMax Forums/BlitzMax Programming/How to load texture in OpenGL

glBindTexture

i think max has some kinda inbuilt shortcut to loading gl textures

bglTexFromPixmap( pixmap:TPixmap,mipmap=True ) Helper function to create a texture from a pixmap

^ im gonna take a guess as i cant actually try it, that you can glbindtexture with the returned int (yay or nay im not sure yet)