Fix build error on Windows 32 bit.

This commit is contained in:
Brecht Van Lommel
2018-03-20 17:11:14 +01:00
parent 69e35429bf
commit d03223850e

View File

@@ -1462,6 +1462,7 @@ typedef struct KernelSpotLight {
float spot_angle; float spot_angle;
float spot_smooth; float spot_smooth;
float dir[3]; float dir[3];
float pad;
} KernelSpotLight; } KernelSpotLight;
/* PointLight is SpotLight with only radius and invarea being used. */ /* PointLight is SpotLight with only radius and invarea being used. */
@@ -1470,13 +1471,16 @@ typedef struct KernelAreaLight {
float axisu[3]; float axisu[3];
float invarea; float invarea;
float axisv[3]; float axisv[3];
float pad1;
float dir[3]; float dir[3];
float pad2;
} KernelAreaLight; } KernelAreaLight;
typedef struct KernelDistantLight { typedef struct KernelDistantLight {
float radius; float radius;
float cosangle; float cosangle;
float invarea; float invarea;
float pad;
} KernelDistantLight; } KernelDistantLight;
typedef struct KernelLight { typedef struct KernelLight {