Make renderchain_compile_shaders static

This commit is contained in:
twinaphex 2015-04-05 23:25:27 +02:00
parent 05b6b7a2ea
commit 508ab03ea2
2 changed files with 2 additions and 5 deletions

View File

@ -184,8 +184,8 @@ static INLINE CGparameter find_param_from_semantic(CGprogram prog,
return find_param_from_semantic(param, sem);
}
bool renderchain_compile_shaders(void *data, void *fragment_data,
void *vertex_data, const std::string &shader)
static bool renderchain_compile_shaders(void *data,
void *fragment_data, void *vertex_data, const std::string &shader)
{
CGprogram *fPrg = (CGprogram*)fragment_data;
CGprogram *vPrg = (CGprogram*)vertex_data;

View File

@ -78,9 +78,6 @@ void renderchain_blit_to_texture(void *data, const void *frame,
void renderchain_render_pass(void *data, void *pass_data, unsigned pass_index);
bool renderchain_compile_shaders(void *data, void *fragment_data,
void *vertex_data, const std::string &shader);
bool renderchain_init_shader_fvf(void *data, void *pass_data);
#endif