Why don’t you post a screenshot or 2 to show what you mean?
Additionally, GetBackBuffer() and GetSurfaceLevel() increase reference counts and Release() must be called afterwards on the respective objects.
Comments in your code would go a long way towards helping us help you. I really can’t understand the point of the code (why StretchRect()??) and there are functions such as objectlist.Render() that can only leave us guessing. I [i]assume this call is not related to your problem, but comments would help to know for sure.
nvm i found out the problem :]
I had the near view plane set to 0.0f. I set it there because i though it would be better, but apparently it broke the depth buffer.