I have a problem with the stride parameter
of glVertexPointer .
I have an array with my Vertex data and Texturecoord data (3 component float Vertex and 2 component float Texturecoord )
I think the stride param must be 8 in this case, but it doesnt run.
If your vertex data layout is like that:
V V V T T V V V T T …
then stride must be 5 * 8 = 40
Stride is the distance between first and second data start locations.
Stride should be 20,
3sizeof(float) + 2sizeof(float) = 20
Thanks for your Help.
Its working now. (with stride 20)