PDA

View Full Version : a negative number of hit records



jyoung77
10-03-2005, 04:39 PM
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

mikael_aronsson
10-03-2005, 09:43 PM
Hi !

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

Mikael