mirror of
https://github.com/libretro/RetroArch
synced 2025-02-12 00:40:26 +00:00
(d3d_ctx) Return video_data as the context data
The d3d context shares the d3d video driver data.
This commit is contained in:
parent
f53711f791
commit
f6729c0b74
@ -161,11 +161,9 @@ static bool gfx_ctx_d3d_bind_api(void *data,
|
|||||||
|
|
||||||
static void *gfx_ctx_d3d_init(void *video_driver)
|
static void *gfx_ctx_d3d_init(void *video_driver)
|
||||||
{
|
{
|
||||||
(void)video_driver;
|
|
||||||
|
|
||||||
win32_monitor_init();
|
win32_monitor_init();
|
||||||
|
|
||||||
return (void*)"d3d";
|
return video_driver;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gfx_ctx_d3d_destroy(void *data)
|
static void gfx_ctx_d3d_destroy(void *data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user