Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2016-01-22 09:29:05 +0300
committerMike Erwin <significant.bit@gmail.com>2016-01-22 10:52:12 +0300
commitf2fdec3ab7e76fe42216b03b416e39ed81f5ff9c (patch)
tree78118cde0167179f3f60d24a5f1de7346761bb1e /source/blender
parent24f05bb9177a97311c0000c0e711cd922273dac0 (diff)
OpenGL: remove glGet with unused result
This code is disabled but still…
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/space_node/drawnode.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c
index a2ed8fbe962..fefb433d0eb 100644
--- a/source/blender/editors/space_node/drawnode.c
+++ b/source/blender/editors/space_node/drawnode.c
@@ -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) {