diff --git a/intern/cycles/integrator/pass_accessor.cpp b/intern/cycles/integrator/pass_accessor.cpp index 49e016b2988..8f816920b00 100644 --- a/intern/cycles/integrator/pass_accessor.cpp +++ b/intern/cycles/integrator/pass_accessor.cpp @@ -32,12 +32,6 @@ PassAccessor::Destination::Destination(float *pixels, const int num_components) { } -PassAccessor::Destination::Destination(const PassType pass_type, half4 *pixels) - : Destination(pass_type) -{ - pixels_half_rgba = pixels; -} - PassAccessor::Destination::Destination(const PassType pass_type) { const PassInfo pass_info = Pass::get_info(pass_type); diff --git a/intern/cycles/integrator/pass_accessor.h b/intern/cycles/integrator/pass_accessor.h index a91e5fe00aa..503de56e321 100644 --- a/intern/cycles/integrator/pass_accessor.h +++ b/intern/cycles/integrator/pass_accessor.h @@ -45,7 +45,6 @@ class PassAccessor { public: Destination() = default; Destination(float *pixels, const int num_components); - Destination(const PassType pass_type, half4 *pixels); /* Destination will be initialized with the number of components which is native for the given * pass type. */