fix software rendering check
This commit is contained in:
parent
e59aa8e766
commit
bb235f48d9
|
@ -11,7 +11,7 @@ ISSW=`glxinfo | grep "Software Rasterizer" -c`
|
||||||
# Try with direct rendering
|
# Try with direct rendering
|
||||||
HAVETFP=`glxinfo | grep texture_from_pixmap -c`
|
HAVETFP=`glxinfo | grep texture_from_pixmap -c`
|
||||||
|
|
||||||
if ( [ $HAVE3D == "Yes" ] && [ $HAVETFP -gt 2 ] ); then
|
if ( [ $HAVE3D == "Yes" ] && [ $ISSW == 0 ] && [ $HAVETFP -gt 2 ] ); then
|
||||||
runCompiz $@
|
runCompiz $@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue