From 1cd6b0c81c76f639d1f2772aae216dbf849cd989 Mon Sep 17 00:00:00 2001 From: Stefan Date: Thu, 16 Mar 2023 23:05:44 +0100 Subject: [PATCH] emulationstation.sh: remove deprecated gl version detection --- scriptmodules/supplementary/emulationstation.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scriptmodules/supplementary/emulationstation.sh b/scriptmodules/supplementary/emulationstation.sh index c845c5a4d1..b7b5f275e0 100644 --- a/scriptmodules/supplementary/emulationstation.sh +++ b/scriptmodules/supplementary/emulationstation.sh @@ -166,16 +166,6 @@ function build_emulationstation() { isPlatform "mesa" && params+=(-DGL=On) # force GLESv1 on videocore due to performance issue with GLESv2 isPlatform "videocore" && params+=(-DUSE_GLES1=On) - elif isPlatform "x11"; then - if isPlatform "gles"; then - params+=(-DGLES=On) - local gles_ver=$(sudo -u $user glxinfo -B | grep -oP 'Max GLES[23] profile version:\s\K.*') - compareVersions $gles_ver lt 2.0 && params+=(-DUSE_GLES1=On) - else - params+=(-DGL=On) - local gl_ver=$(sudo -u $user glxinfo -B | grep -oP 'Max compat profile version:\s\K.*') - compareVersions $gl_ver gt 2.0 && params+=(-DUSE_GL21=On) - fi elif isPlatform "gles"; then params+=(-DGLES=On) ! isPlatform "gles2" && params+=(-DUSE_GLES1=On)