(Cg) Take out second_pass_shader / FBO functionality - everything
will go through CGP files from now on
This commit is contained in:
parent
ac20f39dfa
commit
deeaf981f7
|
@ -488,22 +488,8 @@ static bool load_plain(const char *path)
|
||||||
if (!load_program(1, path, true))
|
if (!load_program(1, path, true))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (*g_settings.video.second_pass_shader
|
prg[2] = prg[0];
|
||||||
#ifndef RARCH_CONSOLE
|
cg_shader_num = 1;
|
||||||
&& g_settings.video.render_to_texture
|
|
||||||
#endif
|
|
||||||
)
|
|
||||||
{
|
|
||||||
if (!load_program(2, g_settings.video.second_pass_shader, true))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
cg_shader_num = 2;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
prg[2] = prg[0];
|
|
||||||
cg_shader_num = 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue