Fix MT shader descriptors path

This commit is contained in:
KillzXGaming 2022-10-09 12:45:48 -04:00
parent a875a4ddd9
commit 9af7f1c0d0

View file

@ -4,6 +4,7 @@ using System.Collections.Generic;
using System.IO;
using System.Text;
using Toolbox.Library.Security.Cryptography;
using Toolbox.Library;
namespace CafeLibrary.M2
{
@ -26,7 +27,7 @@ namespace CafeLibrary.M2
attGroups = new Dictionary<uint, Shader.AttributeGroup>();
foreach (var file in Directory.GetFiles(Path.Combine("Lib", "MTVertexFormats")))
foreach (var file in Directory.GetFiles(Path.Combine(Runtime.ExecutableDir, "Lib", "MTVertexFormats")))
{
LoadPresets(file);
}