diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-13 17:16:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-13 17:16:36 +0300 |
commit | 4124804b4e67c7a1d15abaac220d08497e37d34a (patch) | |
tree | af2825d24495aab4bcb061013c6d5ad482eba035 /source/blender/gpu/intern/gpu_material.c | |
parent | 63cc6b44e74d8538a4ba9b4f29929914d627d8f5 (diff) |
many functions in blender are not marked static but should be.
most local modifier,GPU,ImBuf and Interface functions are now static.
also fixed an error were the fluid modifier definition and the header didnt have the same number of args.
Diffstat (limited to 'source/blender/gpu/intern/gpu_material.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index 310e2ec722c..cb28d0dbe47 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -596,7 +596,7 @@ static void do_specular_ramp(GPUShadeInput *shi, GPUNodeLink *is, GPUNodeLink *t } } -void add_user_list(ListBase *list, void *data) +static void add_user_list(ListBase *list, void *data) { LinkData *link = MEM_callocN(sizeof(LinkData), "GPULinkData"); link->data = data; @@ -1348,7 +1348,7 @@ void GPU_shaderesult_set(GPUShadeInput *shi, GPUShadeResult *shr) GPU_link(mat, "linearrgb_to_srgb", shr->combined, &shr->combined); } -GPUNodeLink *GPU_blender_material(GPUMaterial *mat, Material *ma) +static GPUNodeLink *GPU_blender_material(GPUMaterial *mat, Material *ma) { GPUShadeInput shi; GPUShadeResult shr; |