From f6729c0b742dd0107d9cb4536750fa45a9c0131c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Sun, 20 Dec 2015 19:07:37 -0300 Subject: [PATCH] (d3d_ctx) Return video_data as the context data The d3d context shares the d3d video driver data. --- gfx/drivers_context/d3d_ctx.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gfx/drivers_context/d3d_ctx.cpp b/gfx/drivers_context/d3d_ctx.cpp index aff897138f..faa0565593 100644 --- a/gfx/drivers_context/d3d_ctx.cpp +++ b/gfx/drivers_context/d3d_ctx.cpp @@ -161,11 +161,9 @@ static bool gfx_ctx_d3d_bind_api(void *data, static void *gfx_ctx_d3d_init(void *video_driver) { - (void)video_driver; - win32_monitor_init(); - return (void*)"d3d"; + return video_driver; } static void gfx_ctx_d3d_destroy(void *data)