1
0
Fork 0
forked from wry/wry

vulkan-core: make SyncobjCtx optional

This commit is contained in:
Julian Orth 2026-03-11 11:49:42 +01:00
parent 0a84bd47bf
commit e2d2a2e9b9
6 changed files with 16 additions and 11 deletions

View file

@ -671,8 +671,8 @@ impl VulkanDeviceInf for VulkanDevice {
self.supports_timeline_opaque_export
}
fn sync_ctx(&self) -> &Rc<SyncobjCtx> {
&self.sync_ctx
fn sync_ctx(&self) -> Option<&Rc<SyncobjCtx>> {
Some(&self.sync_ctx)
}
fn eventfd_cache(&self) -> &Rc<EventfdCache> {