Fix build error on Windows 32bit, alignment was wrong.

This commit is contained in:
Brecht Van Lommel 2018-10-30 11:39:44 +01:00
parent 4205cd269d
commit 7c0d37deca
1 changed files with 1 additions and 3 deletions

View File

@ -1278,13 +1278,11 @@ typedef struct KernelFilm {
float mist_start;
float mist_inv_depth;
float mist_falloff;
int pass_denoising_data;
int pass_denoising_clean;
int denoising_flags;
int pad1, pad2;
/* XYZ to rendering color space transform. float4 instead of float3 to
* ensure consistent padding/alignment across devices. */
float4 xyz_to_r;