Code cleanup: remove do-nothing function GPU_node_end

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D1026
This commit is contained in:
Nicholas Bishop 2015-01-24 14:48:19 +01:00
parent 2233a3556d
commit 548d222d81

@ -896,11 +896,6 @@ static GPUNode *GPU_node_begin(const char *name)
return node;
}
static void GPU_node_end(GPUNode *UNUSED(node))
{
/* empty */
}
static void gpu_node_input_link(GPUNode *node, GPUNodeLink *link, const GPUType type)
{
GPUInput *input;
@ -1271,8 +1266,6 @@ bool GPU_link(GPUMaterial *mat, const char *name, ...)
}
va_end(params);
GPU_node_end(node);
gpu_material_add_node(mat, node);
return 1;
@ -1334,8 +1327,6 @@ bool GPU_stack_link(GPUMaterial *mat, const char *name, GPUNodeStack *in, GPUNod
}
va_end(params);
GPU_node_end(node);
gpu_material_add_node(mat, node);
return 1;