From e21087bc5d6a4d30d61cfd6430d67416cb486bc8 Mon Sep 17 00:00:00 2001 From: Boria138 Date: Wed, 20 Sep 2023 14:02:02 +0600 Subject: [PATCH] Update print --- data_from_portwine/scripts/runlib | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/data_from_portwine/scripts/runlib b/data_from_portwine/scripts/runlib index 9fde74ae..01560181 100755 --- a/data_from_portwine/scripts/runlib +++ b/data_from_portwine/scripts/runlib @@ -326,8 +326,9 @@ start_portwine () { fi if ! "${PW_WINELIB}/portable/bin/vkcube" --c 50; then - print_info "Vulkan cube test error use OpenGL" + print_info "Vulkan cube test error, force use OpenGL" export PW_VULKAN_USE=0 + export PW_VULKAN_SUPPORT=0 fi @@ -376,7 +377,9 @@ start_portwine () { PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/opengl" if [[ "${PW_VULKAN_USE}" == "0" ]] ; then - print_info "Use OpenGL" + if [[ "${PW_VULKAN_SUPPORT}" != "0" ]] ; then + print_info "Use OpenGL" + fi export GL_YIELD="NOTHING" export mesa_glthread=true var_winedlloverride_update "d3d11,d3d10,d3d10core,d3d10_1,d3d9,wined3d9,dxgi=b;d3d12,d3d12core="