From 289f08b0df3c9a0ae63c6b98abe1a92946ca28c2 Mon Sep 17 00:00:00 2001 From: bjorn Date: Mon, 1 Aug 2022 22:43:44 -0700 Subject: [PATCH] Fix OpenXR texture layer count; --- src/modules/headset/headset_openxr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/headset/headset_openxr.c b/src/modules/headset/headset_openxr.c index 93e27395..f87fcf9b 100644 --- a/src/modules/headset/headset_openxr.c +++ b/src/modules/headset/headset_openxr.c @@ -915,7 +915,7 @@ static void openxr_start(void) { .srgb = true, .width = state.width, .height = state.height, - .depth = 2, + .layers = 2, .mipmaps = 1, .samples = 1, .usage = TEXTURE_RENDER,