Create video_shader_driver_ctl

This commit is contained in:
twinaphex 2016-02-14 18:12:42 +01:00
parent f9824dd53e
commit 8b714895a8
2 changed files with 19 additions and 0 deletions

View File

@ -227,3 +227,15 @@ void video_shader_driver_set_params(video_shader_ctx_params_t *params)
params->fbo_info,
params->fbo_info_cnt);
}
bool video_shader_driver_ctl(enum video_shader_driver_ctl_state state, void *data)
{
switch (state)
{
case SHADER_CTL_NONE:
default:
break;
}
return true;
}

View File

@ -30,6 +30,11 @@
extern "C" {
#endif
enum video_shader_driver_ctl_state
{
SHADER_CTL_NONE = 0
};
typedef struct shader_backend
{
void *(*init)(void *data, const char *path);
@ -164,6 +169,8 @@ struct video_shader *video_shader_driver_direct_get_current_shader(void);
void video_shader_driver_set_params(video_shader_ctx_params_t *params);
bool video_shader_driver_ctl(enum video_shader_driver_ctl_state state, void *data);
#ifdef __cplusplus
}
#endif