Skip to content

Commit 9e3f2b5

Browse files
authored
Update compileshaders.py
glslangValidator has a capital V in its name. This will make this script work again on unix likes.
1 parent 0686ff5 commit 9e3f2b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shaders/glsl/compileshaders.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def isExe(path):
1919
if args.glslang != None and isExe(args.glslang):
2020
return args.glslang
2121

22-
exe_name = "glslangvalidator"
22+
exe_name = "glslangValidator"
2323
if os.name == "nt":
2424
exe_name += ".exe"
2525

@@ -58,4 +58,4 @@ def isExe(path):
5858

5959
res = subprocess.call("%s -V %s -o %s %s" % (glslang_path, input_file, output_file, add_params), shell=True)
6060
if res != 0:
61-
sys.exit(res)
61+
sys.exit(res)

0 commit comments

Comments
 (0)