Quote Originally Posted by JSoftware
You must make sure that you are certain wether you draw the 2d stuff without depth testing or not. Typically you would draw 2d stuff without depth testing and just render it back to front. Either that or clear the depth buffer after you've done your 3d stuff, and then render your 2d stuff with z coordinates
I couldn't have said it better myself

cheers,
Paul