summaryrefslogtreecommitdiff
path: root/modules/openxr
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2023-01-12 09:07:46 +0100
committerGitHub <noreply@github.com>2023-01-12 09:07:46 +0100
commitdd1b3ff0890b8dfc73977cfc874a9c741e13c388 (patch)
tree5b869e8925b621391629b92f34bf56ee3cc9367f /modules/openxr
parent7f3f559e6bc489c0cb485ed118761ea5049b078e (diff)
parent17a957e214bb926ebc1e502228d651fe2bf562e6 (diff)
Merge pull request #71224 from rsjtdrjgfuzkfg/openxr-opengl
OpenXR: Do not use SRGB swapchains with OpenGL
Diffstat (limited to 'modules/openxr')
-rw-r--r--modules/openxr/extensions/openxr_opengl_extension.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/openxr/extensions/openxr_opengl_extension.cpp b/modules/openxr/extensions/openxr_opengl_extension.cpp
index cd371b9ed9..6ce8f0805f 100644
--- a/modules/openxr/extensions/openxr_opengl_extension.cpp
+++ b/modules/openxr/extensions/openxr_opengl_extension.cpp
@@ -157,7 +157,6 @@ void *OpenXROpenGLExtension::set_session_create_and_get_next_pointer(void *p_nex
}
void OpenXROpenGLExtension::get_usable_swapchain_formats(Vector<int64_t> &p_usable_swap_chains) {
- p_usable_swap_chains.push_back(GL_SRGB8_ALPHA8);
p_usable_swap_chains.push_back(GL_RGBA8);
}