diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-09 14:26:48 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-09 14:26:48 +0300 |
commit | ed159004739c7331640a88ab3c4fe25e33c8ebc0 (patch) | |
tree | eb64fea11c4e88204aacb68f9708577fca8e90e0 /source/blender/editors/space_clip/clip_editor.c | |
parent | 8a6cbcf386a1833d2b76aa0afc8abf830493f190 (diff) |
Cleanup: use const variables & arguments
Diffstat (limited to 'source/blender/editors/space_clip/clip_editor.c')
-rw-r--r-- | source/blender/editors/space_clip/clip_editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/clip_editor.c b/source/blender/editors/space_clip/clip_editor.c index 87e88d094d7..0b4eec4a835 100644 --- a/source/blender/editors/space_clip/clip_editor.c +++ b/source/blender/editors/space_clip/clip_editor.c @@ -272,7 +272,7 @@ bool ED_space_clip_get_position(struct SpaceClip *sc, return true; } -bool ED_space_clip_color_sample(SpaceClip *sc, ARegion *region, int mval[2], float r_col[3]) +bool ED_space_clip_color_sample(SpaceClip *sc, ARegion *region, const int mval[2], float r_col[3]) { ImBuf *ibuf; float fx, fy, co[2]; |