Skip to content
Snippets Groups Projects
Commit 847d3106 authored by Oliver Bock's avatar Oliver Bock
Browse files

glLineWidth must not be called in glBegin/glEnd blocks!

parent 25f9b610
No related branches found
No related tags found
No related merge requests found
...@@ -520,9 +520,9 @@ void Starsphere::make_axes() ...@@ -520,9 +520,9 @@ void Starsphere::make_axes()
Axes = glGenLists(1); Axes = glGenLists(1);
glNewList(Axes, GL_COMPILE); glNewList(Axes, GL_COMPILE);
glBegin(GL_LINES);
glLineWidth(2.0); glLineWidth(2.0);
glBegin(GL_LINES);
glColor3f(1.0, 0.0, 0.0); glColor3f(1.0, 0.0, 0.0);
glVertex3f(-axl, 0.0, 0.0); glVertex3f(-axl, 0.0, 0.0);
glVertex3f(axl, 0.0, 0.0); glVertex3f(axl, 0.0, 0.0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment