BRL's GLAdjustTexSize() function is written wrong. Here is a working modification:
http://blitzmax.com/Community/posts.php?topic=73299
I don't know why they used a proxy texture, when you can easily fetch the max texture size from OpenGL.
http://blitzmax.com/Community/posts.php?topic=73299
I don't know why they used a proxy texture, when you can easily fetch the max texture size from OpenGL.