mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Revert "Don't set prg[2] with load_plain()."
This reverts commit a19d1e9776456e8c803e5cc632196869d652de3e.
This commit is contained in:
parent
09c123859d
commit
820fcbaa07
@ -487,15 +487,17 @@ static bool load_plain(const char *path)
|
|||||||
|
|
||||||
if (!load_program(1, path, true))
|
if (!load_program(1, path, true))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
prg[2] = prg[0];
|
||||||
|
cg_shader_num = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RARCH_LOG("Loading stock Cg file.\n");
|
RARCH_LOG("Loading stock Cg file.\n");
|
||||||
prg[1] = prg[0];
|
prg[2] = prg[1] = prg[0];
|
||||||
cg_shader_num = 1;
|
cg_shader_num = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
cg_shader_num = 1;
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user