mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Use 0 parameter index
This commit is contained in:
parent
1aac393f73
commit
087e378bf7
@ -404,8 +404,7 @@ bool video_shader_resolve_parameters(config_file_t *conf,
|
||||
struct video_shader *shader)
|
||||
{
|
||||
unsigned i;
|
||||
struct video_shader_parameter *param =
|
||||
&shader->parameters[shader->num_parameters];
|
||||
struct video_shader_parameter *param = &shader->parameters[0];
|
||||
|
||||
shader->num_parameters = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user