diff --git a/scripts/compile_shader.py b/scripts/compile_shader.py index a6de99f..849f8ca 100644 --- a/scripts/compile_shader.py +++ b/scripts/compile_shader.py @@ -7,6 +7,7 @@ from os import listdir from os.path import isfile, join +TargetFolder = def compile_shader(shadername, shader_out, verbose): if len(shadername) == 0: return @@ -49,8 +50,12 @@ def main(): path = Path(shader) shader_out = path.suffix[1:len(path.suffix)] + ".spv" compile_shader(args.shader + shader, shader_out, args.verbose) - - copy_shader(shader_out, "../bin/debug/shaders") + if os.name == 'nt': + copy_shader(shader_out, "../bin/debug/shaders") + elif os.name == 'posix': + copy_shader(shader_out, "../bin/shaders") + else: + print('Error: unknown platform') if __name__=="__main__": main() diff --git a/src/contrib/vcpkg b/src/contrib/vcpkg index f75c836..e7d7451 160000 --- a/src/contrib/vcpkg +++ b/src/contrib/vcpkg @@ -1 +1 @@ -Subproject commit f75c836a67777a86a2c1116a28b179827f028b66 +Subproject commit e7d7451462697d77ef319ddf2da8ff7320a82662