From 612c05ac71344c1444ee56752c2f5ee9bd7473ff Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 5 Dec 2015 12:21:20 +0100 Subject: [PATCH] (Xbox) Buildfix --- gfx/d3d/d3d.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/d3d/d3d.cpp b/gfx/d3d/d3d.cpp index 6ebe8d1c7c..b7625a3254 100644 --- a/gfx/d3d/d3d.cpp +++ b/gfx/d3d/d3d.cpp @@ -738,7 +738,6 @@ static const gfx_ctx_driver_t *d3d_get_context(void *data) static void *d3d_init(const video_info_t *info, const input_driver_t **input, void **input_data) { - driver_t *driver = driver_get_ptr(); d3d_video_t *vid = NULL; const gfx_ctx_driver_t *ctx = NULL; @@ -798,7 +797,7 @@ static void *d3d_init(const video_info_t *info, #ifdef _XBOX video_driver_ctl(RARCH_DISPLAY_CTL_SET_OWN_DRIVER, NULL); - driver->input_data_own = true; + video_driver_ctl(RARCH_INPUT_CTL_SET_OWN_DRIVER, NULL); #endif return vid;