View Full Version : glDrawArrays vs glDrawElements in GL_LINE_LOOP mode

05-10-2013, 02:28 PM
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?

05-11-2013, 08:45 AM
This is a driver issue on Intel HD Graphics 3000, typically found in MacBook Pro machines.