diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-06 13:24:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 13:24:46 +0200 |
commit | 55fca1cb948533e68887bd5021d7c1cea77da4e5 (patch) | |
tree | 3928544479ce3f03282802eefb1668080abdca06 /modules/openxr | |
parent | cf194847468e00de682074a14b2cf4ccf7b69188 (diff) | |
parent | ecfcfd97fadf93b8014b3cc30bc31cac56db1209 (diff) |
Merge pull request #62344 from BastiaanOlij/extract_dependencies
Diffstat (limited to 'modules/openxr')
-rw-r--r-- | modules/openxr/extensions/openxr_vulkan_extension.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/openxr/extensions/openxr_vulkan_extension.cpp b/modules/openxr/extensions/openxr_vulkan_extension.cpp index 2ddf3b8a7d..3d3d4de5b6 100644 --- a/modules/openxr/extensions/openxr_vulkan_extension.cpp +++ b/modules/openxr/extensions/openxr_vulkan_extension.cpp @@ -34,7 +34,6 @@ #include "../openxr_api.h" #include "../openxr_util.h" #include "servers/rendering/renderer_rd/effects/copy_effects.h" -#include "servers/rendering/renderer_rd/renderer_storage_rd.h" #include "servers/rendering/renderer_rd/storage_rd/texture_storage.h" #include "servers/rendering/rendering_server_globals.h" #include "servers/rendering_server.h" @@ -439,7 +438,6 @@ bool OpenXRVulkanExtension::copy_render_target_to_image(RID p_from_render_target SwapchainGraphicsData *data = (SwapchainGraphicsData *)p_swapchain_graphics_data; ERR_FAIL_NULL_V(data, false); ERR_FAIL_COND_V(p_from_render_target.is_null(), false); - ERR_FAIL_NULL_V(RendererStorageRD::base_singleton, false); RID source_image = RendererRD::TextureStorage::get_singleton()->render_target_get_rd_texture(p_from_render_target); ERR_FAIL_COND_V(source_image.is_null(), false); |