PDA

View Full Version : Resetting Vertex Array states



vibi
09-28-2000, 12:47 PM
I am drawing an object using interleaved arrays and then drawing a textured background.

My problem is that this call to glinterleavedarray is resetting my current color and vertices.

How can I reset or save it?

tdavie
09-28-2000, 11:57 PM
If you are drawing with vertex arrays (of any sort) you should only need to call glInterleavedArray once, in your initialisations. After that, if you want to draw something without using the vertex arrays all you need to do is use glDisableClientState...

vibi
09-29-2000, 11:52 AM
Thanks.

It WORKED!

Just want you to know how much help you have been. I have been trying to solve this for days and I could not achieve it.

Thank you very very much.