mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
bug fix, for legacy systems, they would not have opengl core version
so the test for null had to be revised.
This commit is contained in:
parent
80fd74c099
commit
03bfd88be7
6
inxi
6
inxi
|
@ -13023,17 +13023,19 @@ print_graphics_data()
|
|||
if [[ -z $glx_renderer ]];then
|
||||
glx_renderer='N/A'
|
||||
fi
|
||||
if [[ -z $glx_version || -z $glx_core_version ]];then
|
||||
if [[ -z $glx_version ]];then
|
||||
glx_version='N/A'
|
||||
else
|
||||
# non free drivers once filtered and cleaned show the same for core and compat
|
||||
if [[ $glx_core_version != $glx_version ]];then
|
||||
if [[ -n $glx_core_version && $glx_core_version != $glx_version ]];then
|
||||
glx_version=$glx_core_version
|
||||
if [[ $B_EXTRA_EXTRA_DATA == 'true' ]];then
|
||||
if [[ $glx_compat_version_nu != '' ]];then
|
||||
glx_version="$glx_version (compat-v$SEP3 $glx_compat_version_nu)"
|
||||
fi
|
||||
fi
|
||||
elif [[ -z $glx_core_version ]];then
|
||||
glx_version='N/A'
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue