diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2023-01-12 09:07:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-12 09:07:46 +0100 |
commit | dd1b3ff0890b8dfc73977cfc874a9c741e13c388 (patch) | |
tree | 5b869e8925b621391629b92f34bf56ee3cc9367f /modules/openxr | |
parent | 7f3f559e6bc489c0cb485ed118761ea5049b078e (diff) | |
parent | 17a957e214bb926ebc1e502228d651fe2bf562e6 (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.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); } |