Skip to content

Commit

Permalink
#5584: Wireframe colour is controller by the shader, don't set it in …
Browse files Browse the repository at this point in the history
…the WindingRenderer.
  • Loading branch information
codereader committed Nov 18, 2021
1 parent 32781b1 commit aec7f05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libs/render/WindingRenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ class WindingRenderer :
const auto& indices = bucket.getIndices();

glDisableClientState(GL_COLOR_ARRAY);
glColor3f(1, 1, 1);

glVertexPointer(3, GL_DOUBLE, sizeof(ArbitraryMeshVertex), &vertices.front().vertex);
glTexCoordPointer(2, GL_DOUBLE, sizeof(ArbitraryMeshVertex), &vertices.front().texcoord);
Expand Down

0 comments on commit aec7f05

Please sign in to comment.