Opengl es 2.0 line width

broken image
broken image
broken image

Called to draw the current frame and call back from java layer of get width and height from java layer void JNICALL Java_com_greenline_OpenGL2JNILib_basicSetup(JNIEnv * env, This issue happens once the line started to render but once line ends then it's continuously rendering after that there is no issue. I am rendering two lines simultaneously and also continuously using OpenGL ES 2.0 (NDK and C++ language) but randomly displaying unexpected lines(Attached screenshots).

broken image