Use blocking load method for shaders

This commit is contained in:
Simon Lübeß
2024-08-22 23:25:17 +02:00
parent 66e62f42ec
commit 73a6cc0854
4 changed files with 7 additions and 6 deletions
@@ -31,7 +31,8 @@ namespace GlitchyEngine.Renderer.Text
InitFreetype();
_msdfEffect = Content.LoadAsset("Resources/Shaders/msdfShader.hlsl");
// TODO: We might get away with a non blocking load here, but not for now!
_msdfEffect = Content.LoadAsset("Resources/Shaders/msdfShader.hlsl", null, true);
s_isInitialized = true;
}