Explorar o código

Bugfix: Changing material properties will now properly sync those changes to the core thread

BearishSun %!s(int64=8) %!d(string=hai) anos
pai
achega
b90e5e6484
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Source/BansheeCore/Material/BsMaterial.h

+ 2 - 2
Source/BansheeCore/Material/BsMaterial.h

@@ -43,8 +43,8 @@ namespace bs
 	/** Flags that signal in what way did the Material change. */
 	/** Flags that signal in what way did the Material change. */
 	enum class MaterialDirtyFlags
 	enum class MaterialDirtyFlags
 	{
 	{
-		Normal,
-		ResourceChanged
+		Normal				= 1 << 0,
+		ResourceChanged		= 2 << 1
 	};
 	};
 
 
 	/**
 	/**