fix software rendering check

This commit is contained in:
drago01 2009-08-07 12:48:16 +00:00
parent e59aa8e766
commit bb235f48d9

View File

@ -11,7 +11,7 @@ ISSW=`glxinfo | grep "Software Rasterizer" -c`
# Try with direct rendering
HAVETFP=`glxinfo | grep texture_from_pixmap -c`
if ( [ $HAVE3D == "Yes" ] && [ $HAVETFP -gt 2 ] ); then
if ( [ $HAVE3D == "Yes" ] && [ $ISSW == 0 ] && [ $HAVETFP -gt 2 ] ); then
runCompiz $@
fi