uniquely name D3D function for initing renderchain

This commit is contained in:
twinaphex 2017-09-20 14:53:40 +02:00
parent 808a723969
commit e9a072c1ce
3 changed files with 5 additions and 4 deletions

View File

@ -152,7 +152,7 @@ static bool d3d_init_chain(d3d_video_t *d3d, const video_info_t *video_info)
link_info.tex_w = link_info.tex_h =
video_info->input_scale * RARCH_SCALE_BASE;
if (!renderchain_init_first(&d3d->renderchain_driver,
if (!renderchain_d3d_init_first(&d3d->renderchain_driver,
&d3d->renderchain_data))
{
RARCH_ERR("[D3D]: Renderchain could not be initialized.\n");

View File

@ -3346,7 +3346,7 @@ bool video_shader_driver_wrap_type(video_shader_ctx_wrap_t *wrap)
return true;
}
bool renderchain_init_first(const d3d_renderchain_driver_t **renderchain_driver,
bool renderchain_d3d_init_first(const d3d_renderchain_driver_t **renderchain_driver,
void **renderchain_handle)
{
unsigned i;

View File

@ -1256,8 +1256,9 @@ bool video_shader_driver_compile_program(struct shader_program_info *program_inf
bool video_shader_driver_wrap_type(video_shader_ctx_wrap_t *wrap);
bool renderchain_init_first(const d3d_renderchain_driver_t **renderchain_driver,
void **renderchain_handle);
bool renderchain_d3d_init_first(
const d3d_renderchain_driver_t **renderchain_driver,
void **renderchain_handle);
extern bool (*video_driver_cb_has_focus)(void);