mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
adding in CPC abbreviation on the off chance that 'Compatibility Profile Context' actually means something for fglrx opengl version
This commit is contained in:
parent
a988de3ba0
commit
eb9db620ba
2
inxi
2
inxi
|
@ -3270,7 +3270,7 @@ get_graphics_glx_data()
|
||||||
# /opengl version/ && ( f || $2 !~ /mesa/ ) {
|
# /opengl version/ && ( f || $2 !~ /mesa/ ) {
|
||||||
/opengl version/ {
|
/opengl version/ {
|
||||||
# fglrx started appearing with this extra string, does not appear to communicate anything of value
|
# fglrx started appearing with this extra string, does not appear to communicate anything of value
|
||||||
sub(/Compatibility Profile Context/, "", $2 )
|
sub(/Compatibility Profile Context/, "- CPC", $2 )
|
||||||
gsub(/ [ \t]+/, " ", $2) # get rid of the created white spaces
|
gsub(/ [ \t]+/, " ", $2) # get rid of the created white spaces
|
||||||
gsub(/^ +| +$/, "", $2)
|
gsub(/^ +| +$/, "", $2)
|
||||||
$2 && b[$2]
|
$2 && b[$2]
|
||||||
|
|
Loading…
Reference in a new issue