mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-25 07:29:48 +01:00
fix crasheroni
This commit is contained in:
parent
c9fdf622b6
commit
ab428222c2
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ static void renderSurface(SP<CWLSurfaceResource> surface, int x, int y, void* da
|
|||
return;
|
||||
|
||||
// explicit sync: wait for the timeline, if any
|
||||
if (surface->syncobj) {
|
||||
if (surface->syncobj && surface->syncobj->acquireTimeline) {
|
||||
int fd = surface->syncobj->acquireTimeline->timeline->exportAsSyncFileFD(surface->syncobj->acquirePoint);
|
||||
if (fd < 0) {
|
||||
Debug::log(ERR, "Renderer: failed to get a fd from explicit timeline");
|
||||
|
|
Loading…
Reference in a new issue