Skybox textures all the same

BlitzMax Forums/MiniB3D Module/Skybox textures all the same

apamment(Posted 2013) [#1]
Hi, I'm using the code found here:

http://www.blitzbasic.com/Community/posts.php?topic=98411

a few posts down by midimaster that says it's for minib3d and works.

The problem I am having is all the textures are equal to the last texture. If I comment out the last texture then the bottom is white and all the other textures are correctly loaded, however if I load the last texture, they all equal the last texture.

Does anyone know what I am doing wrong?