diff --git a/src/renderer/renderer.c b/src/renderer/renderer.c index c871d6f246..cb8f813f41 100644 --- a/src/renderer/renderer.c +++ b/src/renderer/renderer.c @@ -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