From bb235f48d970aaf38e929983d607f8d1ab0a5d5f Mon Sep 17 00:00:00 2001 From: drago01 Date: Fri, 7 Aug 2009 12:48:16 +0000 Subject: [PATCH] fix software rendering check --- compiz-gtk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiz-gtk b/compiz-gtk index caad9a6..375892d 100644 --- a/compiz-gtk +++ b/compiz-gtk @@ -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