This commit is contained in:
Aleksander 2024-01-28 18:50:56 +01:00
parent 06979428e5
commit d547319059
1 changed files with 2 additions and 0 deletions

View File

@ -227,8 +227,10 @@ impl OverlayData<OpenVrOverlayData> {
texture.m_nWidth,
texture.m_nHeight,
image.usage()
);
if let Err(e) = overlay.set_image_vulkan(handle, &mut texture) {
panic!("Failed to set overlay texture: {}", e);
}
log::info!("{}: Uploaded texture", self.state.name);
}
}