diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Xconfig/glx.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Xconfig/glx.pm b/lib/Xconfig/glx.pm index 45bef17..814dc06 100644 --- a/lib/Xconfig/glx.pm +++ b/lib/Xconfig/glx.pm @@ -138,6 +138,7 @@ sub get_glx_status { my $glx_status = {}; $glx_status->{context}{Mesa} = $system_glx_info->{strings}{OpenGL_renderer} =~ /Mesa/; + $glx_status->{context}{SoftwareRasterizer} = $system_glx_info->{strings}{OpenGL_renderer} =~ /Software Rasterizer/; $glx_status->{context}{MesaDRI} = $system_glx_info->{strings}{OpenGL_renderer} =~ /Mesa DRI/; $glx_status->{context}{Xgl} = $system_glx_info->{strings}{server_glx_vendor} eq 'SGI' && @@ -149,7 +150,7 @@ sub get_glx_status { $glx_status->{context}{Xmetisse} = is_in_metisse(); $glx_status->{capabilities}{direct_rendering} = - $system_glx_info->{capabilities}{direct_rendering} || + ($system_glx_info->{capabilities}{direct_rendering} && !$glx_status->{context}{SoftwareRasterizer}) || $glx_status->{context}{Xgl} || $glx_status->{context}{Xmetisse}; |