vi: connect vsync event handle lifetime to application display service interface
This commit is contained in:
parent
ae88ea79b2
commit
ea710e6523
4 changed files with 11 additions and 24 deletions
|
@ -223,7 +223,8 @@ Result Nvnflinger::FindVsyncEvent(Kernel::KReadableEvent** out_vsync_event, u64
|
|||
return VI::ResultNotFound;
|
||||
}
|
||||
|
||||
return display->GetVSyncEvent(out_vsync_event);
|
||||
*out_vsync_event = display->GetVSyncEvent();
|
||||
return ResultSuccess;
|
||||
}
|
||||
|
||||
VI::Display* Nvnflinger::FindDisplay(u64 display_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue