mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 21:36:26 +00:00
(D3D) Go through more renderchain_driver callbacks
This commit is contained in:
parent
d2b6f9d735
commit
55d697fbdf
@ -109,10 +109,11 @@ static bool d3d_init_shader(void *data)
|
||||
static void d3d_deinit_chain(d3d_video_t *d3d)
|
||||
{
|
||||
renderchain_deinit(d3d->renderchain_data);
|
||||
d3d->renderchain_data = NULL;
|
||||
#ifdef _XBOX
|
||||
renderchain_free(d3d);
|
||||
#endif
|
||||
d3d->renderchain_driver = NULL;
|
||||
d3d->renderchain_data = NULL;
|
||||
}
|
||||
|
||||
static void d3d_deinitialize(d3d_video_t *d3d)
|
||||
@ -869,7 +870,7 @@ static bool d3d_init_imports(d3d_video_t *d3d)
|
||||
return false;
|
||||
}
|
||||
|
||||
renderchain_add_state_tracker(d3d->renderchain_data, state_tracker);
|
||||
d3d->renderchain_driver->add_state_tracker(d3d->renderchain_data, state_tracker);
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user