Using Multiple Textures

BlitzMax Forums/BlitzMax OpenGL Programming/Using Multiple Textures

It's local to the function and free when you return from this function.
But you need to use Flushmem in your main loop, in fact always use Flushmem.