From 6a032fc1f85828f20adb87769e0b3e919f89930a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 19 Apr 2022 14:27:40 +0200 Subject: [PATCH] (D3D9) Move global over to d3d9_common.c --- gfx/common/d3d9_common.c | 1 + gfx/drivers/d3d9.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/common/d3d9_common.c b/gfx/common/d3d9_common.c index 4e69902a54..18d03f601b 100644 --- a/gfx/common/d3d9_common.c +++ b/gfx/common/d3d9_common.c @@ -53,6 +53,7 @@ #define FS_PRESENTINTERVAL(pp) ((pp)->PresentationInterval) /* TODO/FIXME - static globals */ +LPDIRECT3D9 g_pD3D9; static UINT d3d9_SDKVersion = 0; #ifdef HAVE_DYNAMIC_D3D static dylib_t g_d3d9_dll; diff --git a/gfx/drivers/d3d9.c b/gfx/drivers/d3d9.c index aa409d153a..904ef54a81 100644 --- a/gfx/drivers/d3d9.c +++ b/gfx/drivers/d3d9.c @@ -72,7 +72,6 @@ /* TODO/FIXME - Temporary workaround for D3D9 not being able to poll flags during init */ static gfx_ctx_driver_t d3d9_fake_context; -LPDIRECT3D9 g_pD3D9; static enum rarch_shader_type supported_shader_type = RARCH_SHADER_NONE; extern d3d9_renderchain_driver_t cg_d3d9_renderchain;