Fix shadow render error on Android

This commit is contained in:
ZaneYork 2020-03-01 17:35:11 +08:00
parent a71598b3b6
commit feaffd4c7d
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ namespace StardewModdingAPI.Framework.ContentManagers
// though the XNA documentation explicitly says otherwise. That's a glitch in MonoGame
// fixed in newer versions, but the game uses a bundled version that will always be
// affected. See https://github.com/MonoGame/MonoGame/issues/4820 for more info.
if (Constants.TargetPlatform != GamePlatform.Windows)
if (Constants.TargetPlatform != GamePlatform.Windows && Constants.TargetPlatform != GamePlatform.Android)
return texture;
// premultiply pixels