Hello guys, I asked this Question in a other Thread, but because I still dont know how to fix this problem im doing a new Thread so more people can see it and it may could help other people too. So my problem is that Depth Test is not working (and btw I switched from my old Gameloop to a Fps Animator it still dont works.) and I dont know where the problem is in the following im trying to show you the important parts of my code:
http://pastebin.com/aA60cwav
http://de.pastebin.de/40869Its not the whole Game but I think these are the most important parts atm I dont use Shaders Light or something like that only Triangles and Quads.