Creating Ring

BlitzMax Forums/BlitzMax OpenGL Programming/Creating Ring

Try using Local tex:Int=GLTexFromPixmap(mypixmap)

to get the texture handle for a texture that you load with LoadPixmap(url,false).

Then you just have to switch on texturing, bind the texture, and define the texture coords without having to think about the complicated stuff of creating a texture.