PDA

View Full Version : Is this illegal?



Mongoose
09-28-2000, 11:27 AM
Is it ok to do the following..

Enable Vertex, Color, and Texture Pointers
Set Pointers
Render some triangles with glDrawElements
Use glBegin( GL_TRIANGLE_STRIP ) <----
Use glVertex <----
Use glEnd() <----
Render some more triangles with glDrawElements
Disable Vertex, Color, and Texture Pointers

??

Thankx,
Mongoose

hermes
09-28-2000, 12:50 PM
Seems ok to me

you should be able to mix and match drawing with glBegin/glEnd and using the other presets.

What is your problem excalty?