Merge lp:~3v1n0/compiz/ignore-invalid-sized-textures into lp:compiz/0.9.11
Proposed by
Marco Trevisan (Treviño)
Status: | Merged |
---|---|
Approved by: | Christopher Townsend |
Approved revision: | 3836 |
Merged at revision: | 3834 |
Proposed branch: | lp:~3v1n0/compiz/ignore-invalid-sized-textures |
Merge into: | lp:compiz/0.9.11 |
Diff against target: |
198 lines (+54/-33) 2 files modified
debian/patches/100_workaround_virtualbox_hang.patch (+32/-25) plugins/opengl/src/texture.cpp (+22/-8) |
To merge this branch: | bzr merge lp:~3v1n0/compiz/ignore-invalid-sized-textures |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christopher Townsend | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+209061@code.launchpad.net |
Commit message
Opengl, Texture: don't try to create a texture of invalid (empty or negative) size
This seem to cause also a crash when using software rendering.
Description of the change
There's no reason to create textures of 0x0 size, we can just return an empty list in this case.
To post a comment you must log in.
FAILED: Continuous integration, rev:3833 jenkins. qa.ubuntu. com/job/ compiz- 0.9.11- ci/38/ jenkins. qa.ubuntu. com/job/ compiz- 0.9.11- trusty- amd64-ci/ 38/console jenkins. qa.ubuntu. com/job/ compiz- 0.9.11- trusty- armhf-ci/ 38/console jenkins. qa.ubuntu. com/job/ compiz- 0.9.11- trusty- i386-ci/ 38/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/compiz- 0.9.11- ci/38/rebuild
http://