use srgb for openxr, linear for openvr

This commit is contained in:
galister
2025-04-11 02:13:02 +09:00
parent f12d151abf
commit a8ecc973a4
7 changed files with 17 additions and 21 deletions

View File

@@ -99,8 +99,6 @@ pub struct Vert2Uv {
pub in_uv: [f32; 2],
}
pub const SWAPCHAIN_FORMAT: Format = Format::R8G8B8A8_SRGB;
pub const INDICES: [u16; 6] = [2, 1, 0, 1, 2, 3];
pub const BLEND_ALPHA: AttachmentBlend = AttachmentBlend {
@@ -377,7 +375,7 @@ impl WlxGraphics {
graphics_queue,
transfer_queue,
capture_queue,
native_format: Format::R8G8B8A8_UNORM,
native_format: Format::R8G8B8A8_SRGB,
texture_filtering,
memory_allocator,
command_buffer_allocator,