mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-29 19:21:18 +00:00
glViewer: line widths larger than 1.0 are deprecated in core GL (generates a GL error)
This commit is contained in:
parent
a4a8cd122d
commit
9c9f00ef18
@ -807,9 +807,7 @@ drawCageEdges() {
|
||||
glVertexAttribPointer(g_defaultProgram.attrColor,
|
||||
3, GL_FLOAT, GL_FALSE, sizeof (GLfloat) * 6, (void*)12);
|
||||
|
||||
glLineWidth(2.0f);
|
||||
glDrawArrays(GL_LINES, 0, (int)g_coarseEdges.size());
|
||||
glLineWidth(1.0f);
|
||||
|
||||
glBindVertexArray(0);
|
||||
glUseProgram(0);
|
||||
|
Loading…
Reference in New Issue
Block a user