Fix T44269: Typo in volume_attribute_float:geom_volume.h

Was rather harmless typo since we either pass both dx,dy or pass both NULL.
This commit is contained in:
Sergey Sharybin 2015-04-05 18:51:54 +05:00
parent b06962fcfe
commit ab2d05d958

@ -60,7 +60,7 @@ ccl_device float volume_attribute_float(KernelGlobals *kg, const ShaderData *sd,
#endif
if(dx) *dx = 0.0f;
if(dx) *dy = 0.0f;
if(dy) *dy = 0.0f;
/* todo: support float textures to lower memory usage for single floats */
return average(float4_to_float3(r));