Update glslviewer command used for ebook

This commit is contained in:
Andy Stanton 2021-10-19 23:48:58 +01:00
parent d76550f41b
commit 3d334c019f
1 changed files with 1 additions and 1 deletions

View File

@ -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)