From 5caf49458cf03734103538231f25ea68c41a9a9a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 9 Jan 2016 03:22:16 +0100 Subject: [PATCH] Take out init_shader_fvf callback --- gfx/d3d/render_chain_cg.cpp | 1 - gfx/d3d/render_chain_driver.h | 1 - gfx/d3d/render_chain_null.c | 9 --------- gfx/d3d/render_chain_xdk.cpp | 1 - 4 files changed, 12 deletions(-) diff --git a/gfx/d3d/render_chain_cg.cpp b/gfx/d3d/render_chain_cg.cpp index 347be4710a..463b16a3ef 100644 --- a/gfx/d3d/render_chain_cg.cpp +++ b/gfx/d3d/render_chain_cg.cpp @@ -1617,7 +1617,6 @@ renderchain_driver_t cg_d3d9_renderchain = { cg_d3d9_renderchain_free, cg_d3d9_renderchain_new, cg_d3d9_renderchain_init_shader, - cg_d3d9_renderchain_init_shader_fvf, NULL, cg_d3d9_renderchain_init, cg_d3d9_renderchain_set_final_viewport, diff --git a/gfx/d3d/render_chain_driver.h b/gfx/d3d/render_chain_driver.h index fe0d929cf8..f54bfd2826 100644 --- a/gfx/d3d/render_chain_driver.h +++ b/gfx/d3d/render_chain_driver.h @@ -46,7 +46,6 @@ typedef struct renderchain_driver void (*chain_free)(void *data); void *(*chain_new)(void); bool (*init_shader)(void *data, void *renderchain_data); - bool (*init_shader_fvf)(void *data, void *pass_data); bool (*reinit)(void *data, const void *info_data); bool (*init)(void *data, const void *video_info_data, diff --git a/gfx/d3d/render_chain_null.c b/gfx/d3d/render_chain_null.c index 4bb794665a..3a538c60ea 100644 --- a/gfx/d3d/render_chain_null.c +++ b/gfx/d3d/render_chain_null.c @@ -83,14 +83,6 @@ static bool null_renderchain_render(void *data, const void *frame, return true; } -static bool null_renderchain_init_shader_fvf(void *data, void *pass_data) -{ - (void)data; - (void)pass_data; - - return true; -} - static bool null_renderchain_add_lut(void *data, const char *id, const char *path, bool smooth) { @@ -135,7 +127,6 @@ renderchain_driver_t null_renderchain = { null_renderchain_free, null_renderchain_new, null_renderchain_init_shader, - null_renderchain_init_shader_fvf, NULL, null_renderchain_init, null_renderchain_set_final_viewport, diff --git a/gfx/d3d/render_chain_xdk.cpp b/gfx/d3d/render_chain_xdk.cpp index 9d74df252e..478c2010fe 100644 --- a/gfx/d3d/render_chain_xdk.cpp +++ b/gfx/d3d/render_chain_xdk.cpp @@ -468,7 +468,6 @@ renderchain_driver_t xdk_renderchain = { xdk_renderchain_free, xdk_renderchain_new, xdk_renderchain_init_shader, - xdk_renderchain_init_shader_fvf, xdk_renderchain_reinit, xdk_renderchain_init, xdk_renderchain_set_final_viewport,