(renderchain cg) ifdef out some unused functions right now

This commit is contained in:
twinaphex 2015-04-07 07:04:54 +02:00
parent 086f44fa64
commit b28cd13932

View File

@ -250,6 +250,7 @@ static void renderchain_set_shaders(void *data, void *fragment_data, void *verte
cgD3D9BindProgram(*vPrg);
}
#if 0
static void cg_d3d9_renderchain_destroy_stock_shader(void *data)
{
cg_renderchain_t *chain = (cg_renderchain_t*)data;
@ -262,6 +263,7 @@ static void cg_d3d9_renderchain_destroy_stock_shader(void *data)
if (chain->vStock)
cgDestroyProgram(chain->vStock);
}
#endif
static void renderchain_destroy_shader(void *data, int i)
{
@ -711,6 +713,7 @@ static void renderchain_bind_pass(void *data, void *pass_data, unsigned pass_ind
}
}
#if 0
static void cg_d3d9_renderchain_clear(void *data)
{
unsigned i;
@ -743,6 +746,7 @@ static void cg_d3d9_renderchain_clear(void *data)
chain->passes.clear();
chain->luts.clear();
}
#endif
static void cg_d3d9_renderchain_deinit_shader(void *data)
{
@ -756,6 +760,7 @@ static void cg_d3d9_renderchain_deinit_shader(void *data)
chain->cgCtx = NULL;
}
#if 0
static void cg_d3d9_renderchain_deinit(void *data)
{
cg_renderchain_t *renderchain = (cg_renderchain_t*)data;
@ -763,6 +768,7 @@ static void cg_d3d9_renderchain_deinit(void *data)
if (renderchain)
free(renderchain);
}
#endif
void cg_d3d9_renderchain_free(void *data)
{