mirror of
https://github.com/godotengine/godot
synced 2024-09-16 00:48:15 +00:00
Merge pull request #71224 from rsjtdrjgfuzkfg/openxr-opengl
OpenXR: Do not use SRGB swapchains with OpenGL
This commit is contained in:
commit
dd1b3ff089
|
@ -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) {
|
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);
|
p_usable_swap_chains.push_back(GL_RGBA8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue