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:
authorNicholas Bishop <nicholasbishop@gmail.com>2015-01-24 16:48:19 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2015-01-26 18:35:47 +0300
commit548d222d81c6057c2b694ace6d214036b939abc1 (patch)
tree4522998273acada3a97756b0e3e3c811970ff46c /source/blender/gpu/intern/gpu_codegen.c
parent2233a3556dcd88a0c3e1b8229413c5cfb8ef8a80 (diff)
Code cleanup: remove do-nothing function `GPU_node_end`
Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1026
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.c')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c
index d90d2d4a8a0..c564b886cbe 100644
--- a/source/blender/gpu/intern/gpu_codegen.c
+++ b/source/blender/gpu/intern/gpu_codegen.c
@@ -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;