Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:lafenghu
compiz-manager
compiz-manager-avoid-sw-rast-bug-479060.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File compiz-manager-avoid-sw-rast-bug-479060.diff of Package compiz-manager
Index: compiz-manager =================================================================== --- compiz-manager.orig +++ compiz-manager @@ -177,6 +177,19 @@ check_tfp() fi } +# Check for Software Rasterizer +check_sw() +{ + verbose "Checking for software rasterizer: " + if $GLXINFO 2>/dev/null | egrep -q 'Software Rasterizer' ; then + verbose "present. \n" + return 1; + else + verbose "not present. \n" + return 0; + fi +} + # Check wether the composite extension is present check_composite() { @@ -360,7 +373,7 @@ if ! check_xgl; then fi # check if we have the required bits to run compiz and if not, # fallback - if ! check_tfp || ! check_npot_texture || ! check_composite || ! check_texture_size; then + if ! check_sw || ! check_tfp || ! check_npot_texture || ! check_composite || ! check_texture_size; then abort_with_fallback_wm fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor