a negative number of hit records

Hi,

When glRenderMode is switched from GL_SELECT back to GL_RENDER, a negative number of hit records is returned if overflow takes place. When it happens, can I still use the contents in the hit buffer? I don’t care the overflow condition since I only need to pick a certain fixed number of hit records (say 5).

Thanks for any advice.

Tony

Hi !

I think so, as you still get a record count they should still be usable.

Mikael