Fix video shader base path lookup

remotes/1695061714407202320/main
cosmonaut 2023-02-08 12:44:36 -08:00
parent f673803c37
commit 5baa1d7b40
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ namespace MoonWorks.Graphics
);
// Check for optional video shaders
string basePath = SDL2.SDL.SDL_GetBasePath();
string basePath = System.AppContext.BaseDirectory;
string videoVertPath = Path.Combine(basePath, "video_fullscreen.vert.refresh");
string videoFragPath = Path.Combine(basePath, "video_yuv2rgba.frag.refresh");
if (File.Exists(videoVertPath) && File.Exists(videoFragPath))