tweak video shader filenames

pull/47/head
cosmonaut 2023-02-03 15:07:32 -08:00
parent 40d12357c0
commit 36ce74b58a
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ namespace MoonWorks.Graphics
// Check for optional video shaders // Check for optional video shaders
string basePath = SDL2.SDL.SDL_GetBasePath(); string basePath = SDL2.SDL.SDL_GetBasePath();
string videoVertPath = Path.Combine(basePath, "video_fullscreen.refresh"); string videoVertPath = Path.Combine(basePath, "video_fullscreen.vert.refresh");
string videoFragPath = Path.Combine(basePath, "video_yuv2rgba.refresh"); string videoFragPath = Path.Combine(basePath, "video_yuv2rgba.frag.refresh");
if (File.Exists(videoVertPath) && File.Exists(videoFragPath)) if (File.Exists(videoVertPath) && File.Exists(videoFragPath))
{ {
ShaderModule videoVertShader = new ShaderModule(this, videoVertPath); ShaderModule videoVertShader = new ShaderModule(this, videoVertPath);