Skip to content

Commit

Permalink
Fix envmap for double precision modes
Browse files Browse the repository at this point in the history
  • Loading branch information
Speierers committed May 18, 2020
1 parent f255e50 commit 91a2913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emitters/envmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class EnvironmentMapEmitter final : public Emitter<Float, Spectrum> {
}

*lum_ptr++ = lum * sin_theta;
store(ptr, coeff);
store_unaligned(ptr, coeff);
ptr += 4;
}
}
Expand Down

0 comments on commit 91a2913

Please sign in to comment.