mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-24 12:15:08 +00:00
Cleanups
This commit is contained in:
parent
0b7ee2fcf7
commit
d562bf38cb
@ -118,7 +118,8 @@ static void gl_cg_set_uniform_parameter(
|
||||
{
|
||||
CGparameter location;
|
||||
cg_shader_data_t *cg_data = (cg_shader_data_t*)data;
|
||||
struct shader_program_cg_data *shader_data = (struct shader_program_cg_data*)_shader_info_data;
|
||||
|
||||
(void)_shader_info_data;
|
||||
|
||||
if (!param || !param->enabled)
|
||||
return;
|
||||
|
@ -1057,7 +1057,8 @@ static void gl_glsl_set_uniform_parameter(
|
||||
{
|
||||
GLint location = 0;
|
||||
glsl_shader_data_t *glsl = (glsl_shader_data_t*)data;
|
||||
struct shader_program_glsl_data *shader_data = (struct shader_program_glsl_data*)shader_info_data;
|
||||
|
||||
(void)shader_info_data;
|
||||
|
||||
if (!param)
|
||||
return;
|
||||
|
@ -103,16 +103,16 @@ void hlsl_set_proj_matrix(void *data, XMMATRIX rotation_value)
|
||||
hlsl_data->prg[hlsl_data->active_idx].mvp_val = rotation_value;
|
||||
}
|
||||
|
||||
static void hlsl_uniform_set_parameter(
|
||||
static void hlsl_set_uniform_parameter(
|
||||
void *data,
|
||||
struct uniform_info *param,
|
||||
void *_shader_info_data,
|
||||
void *uniform_data)
|
||||
{
|
||||
hlsl_shader_data_t *hlsl = (hlsl_shader_data_t*)data;
|
||||
struct shader_program_hlsl_data *shader_data = (struct shader_program_hlsl_data*)_shader_info_data;
|
||||
|
||||
(void)hlsl;
|
||||
(void)_shader_info_data;
|
||||
|
||||
if (!param || !param->enabled)
|
||||
return;
|
||||
@ -570,7 +570,7 @@ const shader_backend_t hlsl_backend = {
|
||||
hlsl_init,
|
||||
hlsl_deinit,
|
||||
hlsl_set_params,
|
||||
hlsl_uniform_set_parameter,
|
||||
hlsl_set_uniform_parameter,
|
||||
hlsl_use,
|
||||
hlsl_num,
|
||||
hlsl_filter_type,
|
||||
|
Loading…
x
Reference in New Issue
Block a user