diff options
author | Sergey Sharybin <sergey@blender.org> | 2020-08-07 17:08:41 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2020-08-07 17:13:11 +0300 |
commit | 4ce298b3c0c3fed22627567c2963c79be4d9fc1f (patch) | |
tree | 01e06daf3e59f55c34c72387a45c7b037b0aed48 /source/blender/editors/include/BIF_glutil.h | |
parent | 17dbdcc552bfb96441a8fd3c57a4787378e5a549 (diff) |
Cleanup: Clang-Tidy. readability-non-const-parameter in pixel drawing
Diffstat (limited to 'source/blender/editors/include/BIF_glutil.h')
-rw-r--r-- | source/blender/editors/include/BIF_glutil.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/include/BIF_glutil.h b/source/blender/editors/include/BIF_glutil.h index 3b7eb01f92c..1d688b2ad68 100644 --- a/source/blender/editors/include/BIF_glutil.h +++ b/source/blender/editors/include/BIF_glutil.h @@ -72,7 +72,7 @@ void immDrawPixelsTex(IMMDrawPixelsTexState *state, void *rect, float xzoom, float yzoom, - float color[4]); + const float color[4]); void immDrawPixelsTex_clipping(IMMDrawPixelsTexState *state, float x, float y, @@ -87,7 +87,7 @@ void immDrawPixelsTex_clipping(IMMDrawPixelsTexState *state, float clip_max_y, float xzoom, float yzoom, - float color[4]); + const float color[4]); void immDrawPixelsTexScaled(IMMDrawPixelsTexState *state, float x, float y, @@ -100,7 +100,7 @@ void immDrawPixelsTexScaled(IMMDrawPixelsTexState *state, float scaleY, float xzoom, float yzoom, - float color[4]); + const float color[4]); void immDrawPixelsTexScaled_clipping(IMMDrawPixelsTexState *state, float x, float y, @@ -117,7 +117,7 @@ void immDrawPixelsTexScaled_clipping(IMMDrawPixelsTexState *state, float clip_max_y, float xzoom, float yzoom, - float color[4]); + const float color[4]); /* Image buffer drawing functions, with display transform * |