Creates XNA 3.1 branch.

Signed-off-by: Tom Hicks <headhunter3@gmail.com>
This commit is contained in:
2017-11-11 15:27:32 -08:00
parent a99816b6ad
commit 4d7fd69e59
6 changed files with 46 additions and 126 deletions

View File

@@ -4,6 +4,7 @@ using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace PlanB.Html.Utility
{
@@ -35,7 +36,7 @@ namespace PlanB.Html.Utility
v.Y = green / 255.0f;
v.Z = blue / 255.0f;
return Color.FromNonPremultiplied(v);
return new Color(v);
}
else
{