diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-01-28 13:23:22 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-01-28 13:48:47 +0300 |
commit | be921a04f24a4807682bfb9d1118bcce11c7b66a (patch) | |
tree | dee7607e4638b469046f62ffccc8c3edb9e61aa8 /source/blender/draw/engines/image/image_space_image.hh | |
parent | dcb7b3f9f78484840edc60bc4cf711823b7eec17 (diff) |
Image engine: Remove unused parameter.
Parameter was used to still be compatible with the previous drawing mode.
The previous mode isn't available anymore so the parameter can should be
removed.
Diffstat (limited to 'source/blender/draw/engines/image/image_space_image.hh')
-rw-r--r-- | source/blender/draw/engines/image/image_space_image.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/draw/engines/image/image_space_image.hh b/source/blender/draw/engines/image/image_space_image.hh index 96abe2e57f4..090481a351d 100644 --- a/source/blender/draw/engines/image/image_space_image.hh +++ b/source/blender/draw/engines/image/image_space_image.hh @@ -54,9 +54,7 @@ class SpaceImageAccessor : public AbstractSpaceAccessor { ED_space_image_release_buffer(sima, image_buffer, lock); } - void get_shader_parameters(ShaderParameters &r_shader_parameters, - ImBuf *image_buffer, - bool UNUSED(is_tiled)) override + void get_shader_parameters(ShaderParameters &r_shader_parameters, ImBuf *image_buffer) override { const int sima_flag = sima->flag & ED_space_image_get_display_channel_mask(image_buffer); if ((sima_flag & SI_USE_ALPHA) != 0) { |