2D stuff appearing as quad at 0,0,0

BlitzMax Forums/MiniB3D Module/2D stuff appearing as quad at 0,0,0

RexRhino(Posted 2008) [#1]
I am writing a 3D space game that generates all models/textures procedurally. To do this I do a lot of stuff in 2D. I am having a weird artifact where the last texture that I create is turned into a quad in the middle of the universe. Also, 2d text is scaled to reflect the late size of the texture instead of the screen... so if the last texture was 64x64, the text is shrunk to 1 or 2 pixels.

Here is what it looks like.




Now, normally this bug happens when you don't properly use the tBlitz2D.BeginMax2D and tBlitz2D.EndMax2D commands. However, in this case, each one has been properly opened and closed for every Max2D command.

Is there something else that I am missing?