Переглянути джерело

[xna][monogame] Fixed slot BlendMode.Additive having no effect. Closing #2215.

Harald Csaszar 2 роки тому
батько
коміт
9c411cd776

+ 2 - 2
spine-monogame/spine-monogame/src/SkeletonRenderer.cs

@@ -153,8 +153,8 @@ namespace Spine {
 				// set blend state
 				BlendState blend = slot.Data.BlendMode == BlendMode.Additive ? BlendState.Additive : defaultBlendState;
 				if (device.BlendState != blend) {
-					//End();
-					//device.BlendState = blend;
+					End();
+					device.BlendState = blend;
 				}
 
 				// calculate color