Skip to content

Commit

Permalink
remove state polygon mode, it is already active
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel T. Borelli committed May 13, 2015
1 parent 1ca6c8f commit 04b403b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gl-spectrum/gl-spectrum.cc
Expand Up @@ -228,7 +228,6 @@ static void draw_bars ()
glTranslatef (0.0f, -0.5f, -5.0f);
glRotatef (38.0f, 1.0f, 0.0f, 0.0f);
glRotatef (s_angle + 180.0f, 0.0f, 1.0f, 0.0f);
glPolygonMode (GL_FRONT_AND_BACK, GL_FILL);

for (int i = 0; i < NUM_BANDS; i ++)
{
Expand All @@ -242,7 +241,6 @@ static void draw_bars ()
}
}

glPolygonMode (GL_FRONT_AND_BACK, GL_FILL);
glPopMatrix ();
}

Expand Down

0 comments on commit 04b403b

Please sign in to comment.