openvr: native is srgb, set image_view for lines
This commit is contained in:
@@ -81,6 +81,7 @@ impl LinePool {
|
|||||||
data: OpenVrOverlayData {
|
data: OpenVrOverlayData {
|
||||||
width: 0.002,
|
width: 0.002,
|
||||||
override_width: true,
|
override_width: true,
|
||||||
|
image_view: Some(self.view.clone()),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
..Default::default()
|
..Default::default()
|
||||||
|
|||||||
@@ -527,7 +527,7 @@ impl WlxGraphics {
|
|||||||
transfer_queue,
|
transfer_queue,
|
||||||
capture_queue,
|
capture_queue,
|
||||||
memory_allocator,
|
memory_allocator,
|
||||||
native_format: Format::R8G8B8A8_UNORM,
|
native_format: Format::R8G8B8A8_SRGB,
|
||||||
texture_filtering,
|
texture_filtering,
|
||||||
command_buffer_allocator,
|
command_buffer_allocator,
|
||||||
descriptor_set_allocator,
|
descriptor_set_allocator,
|
||||||
|
|||||||
Reference in New Issue
Block a user