diff options
author | rsjtdrjgfuzkfg <public@rsjtdrjgfuzkfg.com> | 2023-01-11 15:20:36 +0100 |
---|---|---|
committer | rsjtdrjgfuzkfg <public@rsjtdrjgfuzkfg.com> | 2023-01-11 15:47:53 +0100 |
commit | 17a957e214bb926ebc1e502228d651fe2bf562e6 (patch) | |
tree | d35f0b81d144828537f42d486f1794318a0e5091 /modules/openxr/extensions | |
parent | 9c02bf1b116810b2a95009a8f5b9fcc379e7fa78 (diff) |
OpenXR: Do not use SRGB swapchains with OpenGL
This commit removes SRGB swapchain options for use with OpenGL, to avoid
the hardware doing an additional SRGB conversion and thus causing colors
to differ from other rendering paths.
Diffstat (limited to 'modules/openxr/extensions')
-rw-r--r-- | modules/openxr/extensions/openxr_opengl_extension.cpp | 1 |
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); } |