mirror of
https://github.com/yshui/picom.git
synced 2025-04-21 18:03:02 -04:00
renderer: report present errors
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
bbde4bb1ab
commit
9c4f62cd24
1 changed files with 2 additions and 2 deletions
|
@ -648,8 +648,8 @@ bool renderer_render(struct renderer *r, struct backend_base *backend,
|
|||
pixman_region32_fini(®ion);
|
||||
}
|
||||
|
||||
if (backend->ops->present) {
|
||||
backend->ops->present(backend);
|
||||
if (backend->ops->present && !backend->ops->present(backend)) {
|
||||
log_warn("Failed to present the frame");
|
||||
}
|
||||
|
||||
// "Un-cull" the render commands, so later damage calculation using those commands
|
||||
|
|
Loading…
Add table
Reference in a new issue