Since [1], wlr_renderer_begin() can fail. Check its return value
and bail.
This fixes an assertion error (when begin() fails and then we try
to render something) after a GPU reset.
[1]: a541c9510a
master
parent
a7b9f6fedc
commit
36f627d0fa
Loading…
Reference in new issue