diff options
author | Jacques Lucke <jacques@blender.org> | 2020-12-09 18:29:11 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-12-09 18:29:11 +0300 |
commit | c93f826661334926fc15504243f61c85242bec42 (patch) | |
tree | 80b49e2b1aefcf177c1bb745f2501a660260b9aa /source/blender/compositor/operations/COM_VectorBlurOperation.cpp | |
parent | 4a5f36638b0244b586607e76451669ffbc3c1174 (diff) |
Cleanup: various clang tidy fixes
Diffstat (limited to 'source/blender/compositor/operations/COM_VectorBlurOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_VectorBlurOperation.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_VectorBlurOperation.cpp b/source/blender/compositor/operations/COM_VectorBlurOperation.cpp index 6254f93472e..f7b908deaf4 100644 --- a/source/blender/compositor/operations/COM_VectorBlurOperation.cpp +++ b/source/blender/compositor/operations/COM_VectorBlurOperation.cpp @@ -141,7 +141,7 @@ void VectorBlurOperation::generateVectorBlur(float *data, /* ****************** Spans ******************************* */ /* span fill in method, is also used to localize data for zbuffering */ -typedef struct ZSpan { +struct ZSpan { /* range for clipping */ int rectx, recty; @@ -157,8 +157,7 @@ typedef struct ZSpan { int *rectz; DrawBufPixel *rectdraw; float clipcrop; - -} ZSpan; +}; /* each zbuffer has coordinates transformed to local rect coordinates, so we can simply clip */ void zbuf_alloc_span(ZSpan *zspan, int rectx, int recty, float clipcrop) |