mirror of
https://github.com/NickHu/sway
synced 2025-02-05 20:46:18 +01:00
36f627d0fa
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]:
|
||
---|---|---|
.. | ||
desktop.c | ||
idle_inhibit_v1.c | ||
launcher.c | ||
layer_shell.c | ||
output.c | ||
render.c | ||
surface.c | ||
transaction.c | ||
xdg_shell.c | ||
xwayland.c |