1
0
mirror of synced 2025-01-31 20:25:23 +01:00

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.IO;
using System.Text; using System.Text;
using Toolbox.Library.Security.Cryptography; using Toolbox.Library.Security.Cryptography;
using Toolbox.Library;
namespace CafeLibrary.M2 namespace CafeLibrary.M2
{ {
@ -26,7 +27,7 @@ namespace CafeLibrary.M2
attGroups = new Dictionary<uint, Shader.AttributeGroup>(); 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); LoadPresets(file);
} }