[Bf-blender-cvs] [d03223850eb] master: Fix build error on Windows 32 bit.
Brecht Van Lommel
noreply at git.blender.org
Tue Mar 20 18:03:06 CET 2018
Commit: d03223850ebc585f76ed01b74f6e13f55090afa2
Author: Brecht Van Lommel
Date: Tue Mar 20 17:11:14 2018 +0100
Branches: master
https://developer.blender.org/rBd03223850ebc585f76ed01b74f6e13f55090afa2
Fix build error on Windows 32 bit.
===================================================================
M intern/cycles/kernel/kernel_types.h
===================================================================
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index 11657003259..2945cdb4593 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -1462,6 +1462,7 @@ typedef struct KernelSpotLight {
float spot_angle;
float spot_smooth;
float dir[3];
+ float pad;
} KernelSpotLight;
/* PointLight is SpotLight with only radius and invarea being used. */
@@ -1470,13 +1471,16 @@ typedef struct KernelAreaLight {
float axisu[3];
float invarea;
float axisv[3];
+ float pad1;
float dir[3];
+ float pad2;
} KernelAreaLight;
typedef struct KernelDistantLight {
float radius;
float cosangle;
float invarea;
+ float pad;
} KernelDistantLight;
typedef struct KernelLight {
More information about the Bf-blender-cvs
mailing list