diff --git a/away3d/materials/methods/LightMapMethod.hx b/away3d/materials/methods/LightMapMethod.hx index 272e1c53..40eb9fc2 100644 --- a/away3d/materials/methods/LightMapMethod.hx +++ b/away3d/materials/methods/LightMapMethod.hx @@ -26,7 +26,7 @@ class LightMapMethod extends EffectMethodBase /** * Indicates the light map should be added into the calculated shading result. */ - public static var ADD:BlendMode = BlendMode.ADD; + public static inline var ADD:BlendMode = BlendMode.ADD; private var _texture:Texture2DBase; diff --git a/away3d/textures/Anisotropy.hx b/away3d/textures/Anisotropy.hx index b60c1c90..cc667e80 100644 --- a/away3d/textures/Anisotropy.hx +++ b/away3d/textures/Anisotropy.hx @@ -1,6 +1,6 @@ package away3d.textures; -@:enum abstract Anisotropy(Null) +#if haxe4 enum #else @:enum #end abstract Anisotropy(Null) { public var NONE = 0; public var ANISOTROPIC2X = 1;