summaryrefslogtreecommitdiffstats
path: root/drivers/d3d12/rendering_context_driver_d3d12.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/d3d12/rendering_context_driver_d3d12.cpp')
-rw-r--r--drivers/d3d12/rendering_context_driver_d3d12.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/d3d12/rendering_context_driver_d3d12.cpp b/drivers/d3d12/rendering_context_driver_d3d12.cpp
index c4cb99fcaa..d01ae5a73f 100644
--- a/drivers/d3d12/rendering_context_driver_d3d12.cpp
+++ b/drivers/d3d12/rendering_context_driver_d3d12.cpp
@@ -71,10 +71,6 @@ const GUID CLSID_D3D12DeviceFactoryGodot = { 0x114863bf, 0xc386, 0x4aee, { 0xb3,
const GUID CLSID_D3D12DebugGodot = { 0xf2352aeb, 0xdd84, 0x49fe, { 0xb9, 0x7b, 0xa9, 0xdc, 0xfd, 0xcc, 0x1b, 0x4f } };
const GUID CLSID_D3D12SDKConfigurationGodot = { 0x7cda6aca, 0xa03e, 0x49c8, { 0x94, 0x58, 0x03, 0x34, 0xd2, 0x0e, 0x07, 0xce } };
-extern "C" {
-char godot_nir_arch_name[32];
-}
-
#ifdef PIX_ENABLED
#if defined(__GNUC__)
#define _MSC_VER 1800
@@ -86,10 +82,7 @@ char godot_nir_arch_name[32];
#endif
#endif
-RenderingContextDriverD3D12::RenderingContextDriverD3D12() {
- CharString cs = Engine::get_singleton()->get_architecture_name().ascii();
- memcpy(godot_nir_arch_name, (const char *)cs.get_data(), cs.size());
-}
+RenderingContextDriverD3D12::RenderingContextDriverD3D12() {}
RenderingContextDriverD3D12::~RenderingContextDriverD3D12() {
if (lib_d3d12) {