Selection buffer problem: All depths = 2147483648

Hi all,

I have a problem with my selection buffer. My code works as far as finding all of the triangles that are intersected by the line from the camera through the point that I specify, but when I look in the resulting buffer of GLint’s, the minimum and maximum depths for all points are the same: 2147483648, which is 1<<31.

Has anyone here seen this before and possibly know what causes it?

Thanks.