View Full Version : Client state and context switching

03-20-2003, 12:52 AM
Hi, I am a bit confused regarding vertex arrays and context swithcing. As far as I can see from the GL Spec client state, such as vertex arrays should not be tied to a specific GL context.

However, when I try to render to a pbuffer, I have to glEnableClientState and call glVertexPointer even if the vertex data were enabled in the previous context.

Is this the correct behaviour or is there a bug somewhere?

I use the NVIDIA 4191 drivers for linux on a GF4 Ti 4200.

03-20-2003, 09:59 AM
Client state is not shared between contexts.