forked from MoonsideGames/MoonWorks
tweak video shader filenames
parent
40d12357c0
commit
36ce74b58a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue