I have my cordinate data as follows :

Code :
private final float[] verticesData = {
                // X, Y, Z, U, V
                -1.0f, -1.0f, 0, 0.f, 0.f,
                1.0f, -1.0f, 0, 1.f, 0.f,
                -1.0f,  1.0f, 0, 0.f, 1.f,
                1.0f,  1.0f, 0, 1.f, 1.f,
        };

and I pass this to vertex attribute as below



Code :
GLES20.glVertexAttribPointer(positionHandle, 3, GLES20.GL_FLOAT, false, 20, vertices);
    GLES20.glVertexAttribPointer(textureHandle, 2, GLES20.GL_FLOAT, false, 20, vertices);
 
    GLES20.glDrawArrays(GLES20.GL_TRIANGLE_STRIP, 0, 4);


For histogram purpose, I need to draw the same data as GL_POINTS instead of GL_TRIANGLE_STRIP.

How to do that?