AnsweredAssumed Answered

GL_PRIMITIVE_RESTART not working

Question asked by clunis_immensus on Dec 19, 2018
Latest reply on Dec 25, 2018 by xhuang

glEnable(GL_PRIMITIVE_RESTART);

glPrimitiveRestartIndex(0xffffffff);

glDrawElements(GL_LINE_STRIP, elementCount, GL_UNSIGNED_INT, 0);

 

Sometimes this does not work, and an extra line segment is drawn to (0,0) for every line strip in the list.

 

I've tested on FirePro W5100 and W3100

Outcomes