Просмотр исходного кода

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

BearishSun 8 лет назад
Родитель
Сommit
b90e5e6484
1 измененных файлов с 2 добавлено и 2 удалено
  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. */
 	enum class MaterialDirtyFlags
 	{
-		Normal,
-		ResourceChanged
+		Normal				= 1 << 0,
+		ResourceChanged		= 2 << 1
 	};
 
 	/**