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
+2 -2
View File
@@ -23,7 +23,7 @@ use crate::{
},
},
config_wayvr,
graphics::{CommandBuffers, WlxGraphics, WlxPipeline, SWAPCHAIN_FORMAT},
graphics::{CommandBuffers, WlxGraphics, WlxPipeline},
gui::modular::button::{WayVRAction, WayVRDisplayClickAction},
state::{self, AppState, KeyboardFocus},
};
@@ -190,7 +190,7 @@ impl WayVRRenderer {
let pipeline = app.graphics.create_pipeline(
shaders.get("vert_common").unwrap().clone(), // want panic
shaders.get("frag_srgb").unwrap().clone(), // want panic
SWAPCHAIN_FORMAT,
app.graphics.native_format,
None,
)?;