Skip to content

Commit 91a2913

Browse files
committed
Fix envmap for double precision modes
1 parent f255e50 commit 91a2913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/emitters/envmap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class EnvironmentMapEmitter final : public Emitter<Float, Spectrum> {
109109
}
110110

111111
*lum_ptr++ = lum * sin_theta;
112-
store(ptr, coeff);
112+
store_unaligned(ptr, coeff);
113113
ptr += 4;
114114
}
115115
}

0 commit comments

Comments
 (0)