diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2015-01-24 15:25:49 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2015-01-26 18:34:39 +0300 |
commit | 8cafa0afa67c2d027fbd241b3cf3959571a43160 (patch) | |
tree | d044018e770f58de9e0f0e56898d19b178ff7e53 /source/blender/gpu/intern/gpu_codegen.c | |
parent | d1e1fb2239372ecd1e7ec0bb84e4d2c6cb0a1269 (diff) |
Code cleanup: give anomymous enum used for CustomData.type a name
Used this in GPU module to clarify what some "ints" really are.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index 1f9efdcbefd..984e1d6ce64 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -1142,7 +1142,7 @@ static void gpu_nodes_get_builtin_flag(ListBase *nodes, int *builtin) /* varargs linking */ -GPUNodeLink *GPU_attribute(int type, const char *name) +GPUNodeLink *GPU_attribute(const CustomDataType type, const char *name) { GPUNodeLink *link = GPU_node_link_create(0); |