Is depth handled differently by opengl on different phones?

view full story

http://stackoverflow.com – Im testing my new game prior to release and i have found that on some devices the Z positions seemed to be mixed up in some cases and objects that should appear on top were appearing underneath. I'm running opengl es 1 and it runs perfectly on my Samsung Galaxy S2 (and all the samsung devices i tested on) but went wrong on a HTC Desire. Does anyone have any ideas? (HowTos)