From 9e3f2b5e28749922f22e3fc028b738cb0247aebf Mon Sep 17 00:00:00 2001 From: deccer Date: Thu, 12 Jun 2025 20:40:51 +0000 Subject: [PATCH] Update compileshaders.py glslangValidator has a capital V in its name. This will make this script work again on unix likes. --- shaders/glsl/compileshaders.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shaders/glsl/compileshaders.py b/shaders/glsl/compileshaders.py index d9a4c1ef..d0faa6d1 100644 --- a/shaders/glsl/compileshaders.py +++ b/shaders/glsl/compileshaders.py @@ -19,7 +19,7 @@ def findGlslang(): if args.glslang != None and isExe(args.glslang): return args.glslang - exe_name = "glslangvalidator" + exe_name = "glslangValidator" if os.name == "nt": exe_name += ".exe" @@ -58,4 +58,4 @@ for root, dirs, files in os.walk(dir_path): res = subprocess.call("%s -V %s -o %s %s" % (glslang_path, input_file, output_file, add_params), shell=True) if res != 0: - sys.exit(res) \ No newline at end of file + sys.exit(res)