OpenGL: remove glGet with unused result

This code is disabled but still…
This commit is contained in:
Mike Erwin 2016-01-22 01:29:05 -05:00
parent 24f05bb917
commit f2fdec3ab7
1 changed files with 0 additions and 4 deletions

View File

@ -3539,14 +3539,10 @@ void node_draw_link_straight(View2D *v2d, SpaceNode *snode, bNodeLink *link,
int th_col1, int do_shaded, int th_col2, int do_triple, int th_col3)
{
float coord_array[2][2];
float linew;
int i;
node_link_straight_points(v2d, snode, link, coord_array);
/* store current linewidth */
glGetFloatv(GL_LINE_WIDTH, &linew);
glEnable(GL_LINE_SMOOTH);
if (do_triple) {