-
problem in glDrawArray
hi,
code:
glDisable(GL_TEXTURE_2D);
glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer( 3, GL_FLOAT, 0, createdVertices );
glDrawArrays(GL_LINE_LOOP, 0,count);
glDisableClientState(GL_VERTEX_ARRAY);
i'm having an array of 40,00,000 vertices with start and end points.while displaying with gldrawarray some stranges line are present which i have not used to draw.i had checked my array values.everything is right.i had tried with small array at that time also its displaying some lines.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules