diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2015-01-24 17:50:03 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2015-01-26 18:36:07 +0300 |
commit | c5f5012c5a1b30ee757244782584cab087e22999 (patch) | |
tree | 72b78c749cf7cd6576a1af75bdbef9935d21dbce /source/blender/gpu/intern/gpu_codegen.c | |
parent | 8174ea2684b8d144de10508c1766117abe4b6a9a (diff) |
Code cleanup: use GPUDynamicType instead of int
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index 0ada2602ae4..9b49d232209 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -1178,7 +1178,7 @@ GPUNodeLink *GPU_uniform(float *num) return link; } -GPUNodeLink *GPU_dynamic_uniform(float *num, int dynamictype, void *data) +GPUNodeLink *GPU_dynamic_uniform(float *num, GPUDynamicType dynamictype, void *data) { GPUNodeLink *link = GPU_node_link_create(); @@ -1225,7 +1225,7 @@ GPUNodeLink *GPU_texture(int size, float *pixels) return link; } -GPUNodeLink *GPU_dynamic_texture(GPUTexture *tex, int dynamictype, void *data) +GPUNodeLink *GPU_dynamic_texture(GPUTexture *tex, GPUDynamicType dynamictype, void *data) { GPUNodeLink *link = GPU_node_link_create(); |