mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
(GL/video driver) More cleanups
This commit is contained in:
parent
845c8d1757
commit
6f7d67aa77
@ -3535,11 +3535,6 @@ video_shader_driver_get_current_shader_null(void *data)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void video_shader_driver_set_params_null(
|
||||
void *data, void *shader_data)
|
||||
{
|
||||
}
|
||||
|
||||
static void video_shader_driver_scale_null(void *data,
|
||||
unsigned idx, struct gfx_fbo_scale *scale)
|
||||
{
|
||||
@ -3547,13 +3542,6 @@ static void video_shader_driver_scale_null(void *data,
|
||||
(void)scale;
|
||||
}
|
||||
|
||||
static bool video_shader_driver_mipmap_input_null(
|
||||
void *data, unsigned idx)
|
||||
{
|
||||
(void)idx;
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool video_shader_driver_filter_type_null(
|
||||
void *data, unsigned idx, bool *smooth)
|
||||
{
|
||||
@ -3584,12 +3572,8 @@ static void video_shader_driver_reset_to_defaults(void)
|
||||
if (!current_shader->set_coords)
|
||||
current_shader->set_coords = video_driver_cb_set_coords;
|
||||
|
||||
if (!current_shader->set_params)
|
||||
current_shader->set_params = video_shader_driver_set_params_null;
|
||||
if (!current_shader->shader_scale)
|
||||
current_shader->shader_scale = video_shader_driver_scale_null;
|
||||
if (!current_shader->mipmap_input)
|
||||
current_shader->mipmap_input = video_shader_driver_mipmap_input_null;
|
||||
if (!current_shader->filter_type)
|
||||
current_shader->filter_type = video_shader_driver_filter_type_null;
|
||||
if (!current_shader->num_shaders)
|
||||
|
Loading…
Reference in New Issue
Block a user