diff options
author | WasabiRaptor <ketchupraptor@gmail.com> | 2025-05-25 19:12:06 -0400 |
---|---|---|
committer | WasabiRaptor <ketchupraptor@gmail.com> | 2025-05-25 19:12:06 -0400 |
commit | 28466a651bd8449f17bd229178698aa8eac7c56d (patch) | |
tree | e8e07473fec4af4ce5a1021390e76f7b34b99dac /scripts/ci/linux | |
parent | 59854f015602b791b51c20a008e78aaed68d20b9 (diff) | |
parent | 4b3cf6a40c4a2291dd6cf344320840ba7a1980b3 (diff) |
Merge remote-tracking branch 'upstream/main' into networked-animator-improvements
Diffstat (limited to 'scripts/ci/linux')
-rwxr-xr-x | scripts/ci/linux/run-client.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/ci/linux/run-client.sh b/scripts/ci/linux/run-client.sh index f6f72b5..570e619 100755 --- a/scripts/ci/linux/run-client.sh +++ b/scripts/ci/linux/run-client.sh @@ -1,18 +1,5 @@ #!/bin/sh -# Check if environment variables are already set -if [ -n "${__GLX_VENDOR_LIBRARY_NAME}" ] || [ -n "${MESA_LOADER_DRIVER_OVERRIDE}" ] || [ -n "${GALLIUM_DRIVER}" ]; then : -else - # Check for Vulkan support - if command -v vulkaninfo &> /dev/null; then - # Check for Zink support - if __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink LIBGL_KOPPER_DRI2=1 glxinfo | grep -q 'renderer string: zink'; then - # Set environment variables for Zink - export __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink LIBGL_KOPPER_DRI2=1 - fi - fi -fi - cd "`dirname \"$0\"`" LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" ./starbound "$@" & exit |