PDA

View Full Version : Problem with GL_SELECT



09-18-2004, 02:22 AM
Hi!

I copied the source from somewhere else for picking up an object (from GameTutorials.com)

But once I call
glRenderMode(GL_SELECT);

the application breaks down.

I called glSelectBuffer before and DEPTH_TEST is active. glSelectBuffer returns no error.

What could be the problem?

Sumpfratte
09-18-2004, 03:35 AM
Hello,

One possibility could be, that the buffer you have specified with glSelectBuffer() has not allocated enough memory or is still pointing to NULL.

Sumpfratte