diff options
Diffstat (limited to 'intern/cycles/integrator/path_trace_tile.cpp')
-rw-r--r-- | intern/cycles/integrator/path_trace_tile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/integrator/path_trace_tile.cpp b/intern/cycles/integrator/path_trace_tile.cpp index 2f1f4e810a3..dfe88695013 100644 --- a/intern/cycles/integrator/path_trace_tile.cpp +++ b/intern/cycles/integrator/path_trace_tile.cpp @@ -33,7 +33,7 @@ bool PathTraceTile::get_pass_pixels(const string_view pass_name, if (!copied_from_device_) { /* Copy from device on demand. */ path_trace_.copy_render_tile_from_device(); - const_cast<PathTraceTile *>(this)->copied_from_device_ = true; + copied_from_device_ = true; } const BufferParams &buffer_params = path_trace_.get_render_tile_params(); |