Some simple code to accelerate your OpenGL program

BlitzMax Forums/BlitzMax Programming/Some simple code to accelerate your OpenGL program

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'd be interested in hearing what results you get with this. My renderer already does a pretty good job of minimizing texture switches, but if you are just chucking textures at the GPU, this could make a big difference:
http://blitzmax.com/codearcs/codearcs.php?code=2147