(d3d_ctx) Return video_data as the context data

The d3d context shares the d3d video driver data.
This commit is contained in:
Higor Eurípedes 2015-12-20 19:07:37 -03:00
parent f53711f791
commit f6729c0b74

View File

@ -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)