mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-12 02:44:00 +00:00
Don't set prg[2] with load_plain().
This commit is contained in:
parent
5bfa31fa86
commit
a19d1e9776
@ -487,17 +487,15 @@ static bool load_plain(const char *path)
|
||||
|
||||
if (!load_program(1, path, true))
|
||||
return false;
|
||||
|
||||
prg[2] = prg[0];
|
||||
cg_shader_num = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
RARCH_LOG("Loading stock Cg file.\n");
|
||||
prg[2] = prg[1] = prg[0];
|
||||
prg[1] = prg[0];
|
||||
cg_shader_num = 1;
|
||||
}
|
||||
|
||||
cg_shader_num = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user