summaryrefslogtreecommitdiff
path: root/chroma/cuda/hybrid_render.cu
diff options
context:
space:
mode:
Diffstat (limited to 'chroma/cuda/hybrid_render.cu')
-rw-r--r--chroma/cuda/hybrid_render.cu3
1 files changed, 0 insertions, 3 deletions
diff --git a/chroma/cuda/hybrid_render.cu b/chroma/cuda/hybrid_render.cu
index 2c64d0e..29edefa 100644
--- a/chroma/cuda/hybrid_render.cu
+++ b/chroma/cuda/hybrid_render.cu
@@ -44,9 +44,6 @@ to_diffuse(Photon &p, State &s, Geometry *g, curandState &rng, int max_steps)
if (p.history & REFLECT_DIFFUSE)
break;
- if (p.history & SURFACE_REEMIT)
- break;
-
if (command == BREAK)
break;