diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-11 00:49:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-11 01:03:39 +0300 |
commit | 2083a7e274fefd4c82c8c52df87bc175e453c628 (patch) | |
tree | cbd2800e72198c65458513e685a06a2df668b2bf /source/blender/render/intern | |
parent | 76f640c27d896e174d3581acfd3a718772d18f11 (diff) |
Cleanup: style (pointers)
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/source/rayshade.c | 4 | ||||
-rw-r--r-- | source/blender/render/intern/source/rendercore.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/render/intern/source/rayshade.c b/source/blender/render/intern/source/rayshade.c index 6e3dffccc16..608275cdb4d 100644 --- a/source/blender/render/intern/source/rayshade.c +++ b/source/blender/render/intern/source/rayshade.c @@ -88,7 +88,7 @@ static void RE_rayobject_config_control(RayObject *r, Render *re) RayObject *RE_rayobject_create(int type, int size, int octree_resolution) { - RayObject * res = NULL; + RayObject *res = NULL; if (type == R_RAYSTRUCTURE_AUTO) { /* TODO */ @@ -124,7 +124,7 @@ RayObject *RE_rayobject_create(int type, int size, int octree_resolution) static RayObject* rayobject_create(Render *re, int type, int size) { - RayObject * res = NULL; + RayObject *res = NULL; res = RE_rayobject_create(type, size, re->r.ocres); diff --git a/source/blender/render/intern/source/rendercore.c b/source/blender/render/intern/source/rendercore.c index 99d2436d4bc..cfbf199c94d 100644 --- a/source/blender/render/intern/source/rendercore.c +++ b/source/blender/render/intern/source/rendercore.c @@ -314,7 +314,7 @@ static void halo_tile(RenderPart *pa, RenderLayer *rl) if ((zz> har->zs) || (har->mat && (har->mat->mode & MA_HALO_SOFT))) { if (shadeHaloFloat(har, col, zz, dist, xn, yn, har->flarec)) { for (sample=0; sample<totsample; sample++) { - float * rect= RE_RenderLayerGetPass(rlpp[sample], RE_PASSNAME_COMBINED, R.viewname); + float *rect = RE_RenderLayerGetPass(rlpp[sample], RE_PASSNAME_COMBINED, R.viewname); addalphaAddfacFloat(rect + od*4, col, har->add); } } |