mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-13 20:33:22 +00:00
Create video_shader_driver_ctl
This commit is contained in:
parent
f9824dd53e
commit
8b714895a8
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user