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;