mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-08-16 16:50:23 +03:00
fix crasheroni
This commit is contained in:
parent
bc002b9a2e
commit
72c8898300
@ -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 New Issue
Block a user