Should have been:First I wanted to say thanks for your response. Second, I already tried removing that and replacing with
instead, but that still doesn't work. Is there another way to do this?¤t_vertexattribute[i]
current_vertexattribute[i].offset
vertextype *v = NULL; glVertexAttribPointer (0, ..., v->position); glVertexAttribPointer (1, ..., v->normal);
Should be:
glVertexAttribPointer (0, ..., &v->position);
glVertexAttribPointer (1, ..., &v->normal);
Otherwise you get illegal access.L. Spiro