mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
commit
3bb6f568a7
@ -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)
|
||||
|
@ -423,7 +423,12 @@ static void init_video_input(const input_driver_t *tmp)
|
||||
{
|
||||
const input_driver_t **input = input_get_double_ptr();
|
||||
if (*input)
|
||||
{
|
||||
if (!input_driver_get_data() && !input_driver_ctl(RARCH_INPUT_CTL_INIT, NULL))
|
||||
goto error;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/* Reset video frame count */
|
||||
video_driver_frame_count = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user