Mesa/via.csh

7 lines
144 B
Tcsh

if ( -r /var/log/Xorg.0.log ) then
grep -q \"via\" /var/log/Xorg.0.log
if ( $? == 0 ) then
setenv LIBGL_ALWAYS_INDIRECT 1
endif
endif