Merge pull request #361 from andystanton/update-glslviewer-command

pull/366/head
Patricio Gonzalez Vivo 2 years ago committed by GitHub
commit 93338aaad8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -43,7 +43,7 @@ def injectShaderBlocks(_folder, _text):
shaderImage = folder + "/tmp-" + shaderName + ".png"
shaderCommand = "glslViewer " + shaderPath + " " + \
" ".join(shaderTexturePaths) + \
" -s 0.5 --headless -o " + shaderImage
" --headless -e wait,0.5 -E screenshot," + shaderImage
print(shaderCommand)
if not args.skip_image_generation:
returnCode = subprocess.call(shaderCommand, shell=True)

Loading…
Cancel
Save