From e44092e589f036e329397c9fd87bb79634138cff Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 3 Jan 2015 20:54:49 +0100 Subject: [PATCH] (XDK) Fix d3d_get_video_size --- gfx/context/d3d_ctx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/context/d3d_ctx.cpp b/gfx/context/d3d_ctx.cpp index 127788ffbb..5c7d402f2e 100644 --- a/gfx/context/d3d_ctx.cpp +++ b/gfx/context/d3d_ctx.cpp @@ -355,7 +355,7 @@ static void gfx_ctx_d3d_input_driver(void *data, static void gfx_ctx_d3d_get_video_size(void *data, unsigned *width, unsigned *height) { - d3d_video_t *d3d = (d3d_video_t*)driver.video_data; + d3d_video_t *d3d = (d3d_video_t*)data; #ifdef _XBOX (void)width; (void)height;