-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Surface::lock_front_buffer failing when ffi::gbm_surface_lock_fro…
…nt_buffer succeeds With the proprietary vivante driver it's been observed that gbm_surface_has_free_buffers() fails even though gbm_surface_lock_front_buffer() succeeds. Since C/C++ based programs like Weston, kmscube, mutter, or Qt's eglfs renderer don't check for has_free_buffers() before lock_front_buffer() and they work with said drivers, work around it by removing the check. Fixes #36
- Loading branch information
Showing
1 changed file
with
14 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters