openvr: native is srgb, set image_view for lines

This commit is contained in:
galister
2025-04-11 04:40:57 +09:00
parent 4e30bb8cbe
commit 412f199f91
2 changed files with 2 additions and 1 deletions

View File

@@ -81,6 +81,7 @@ impl LinePool {
data: OpenVrOverlayData {
width: 0.002,
override_width: true,
image_view: Some(self.view.clone()),
..Default::default()
},
..Default::default()

View File

@@ -527,7 +527,7 @@ impl WlxGraphics {
transfer_queue,
capture_queue,
memory_allocator,
native_format: Format::R8G8B8A8_UNORM,
native_format: Format::R8G8B8A8_SRGB,
texture_filtering,
command_buffer_allocator,
descriptor_set_allocator,