diff options
Diffstat (limited to 'source/blender/draw/engines/image/image_shader_params.hh')
-rw-r--r-- | source/blender/draw/engines/image/image_shader_params.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/draw/engines/image/image_shader_params.hh b/source/blender/draw/engines/image/image_shader_params.hh index 3fcea696594..46371c598f3 100644 --- a/source/blender/draw/engines/image/image_shader_params.hh +++ b/source/blender/draw/engines/image/image_shader_params.hh @@ -54,7 +54,6 @@ struct ShaderParameters { Camera *camera = static_cast<Camera *>(scene->camera->data); copy_v2_fl2(far_near, camera->clip_end, camera->clip_start); } - const bool is_tiled_image = (image->source == IMA_SRC_TILED); - space->get_shader_parameters(*this, image_buffer, is_tiled_image); + space->get_shader_parameters(*this, image_buffer); } }; |