glDrawArrays vs glDrawElements in GL_LINE_LOOP mode
I'm drawing a bunch of rectangles and other 2D shapes, in the past using glDrawArrays now with shared vertices using glDrawElements. When drawing a square with 4 vertices, count = 4 and mode = GL_LINE_LOOP the square is not closed, it acts as if GL_LINE_STRIP were used. The last vertex is not connect to the first, an additional index is needed to close it?
Last edited by msundell; 05-10-2013 at 10:28 PM.
This is a driver issue on Intel HD Graphics 3000, typically found in MacBook Pro machines.