(PS3) Use built-in stock shader program

This commit is contained in:
Twinaphex 2012-05-07 00:17:28 +02:00
parent 549a6c1349
commit d40c1b3be6

View File

@ -1241,7 +1241,7 @@ static void producesettingentry(menu * menu_obj, uint64_t switchvalue)
}
if(CTRL_START(state))
{
gl_cg_load_shader(1, DEFAULT_SHADER_FILE);
gl_cg_load_shader(1, NULL);
strlcpy(g_settings.video.cg_shader_path, DEFAULT_SHADER_FILE, sizeof(g_settings.video.cg_shader_path));
menu_reinit_settings();
}
@ -1258,7 +1258,7 @@ static void producesettingentry(menu * menu_obj, uint64_t switchvalue)
}
if(CTRL_START(state))
{
gl_cg_load_shader(2, DEFAULT_SHADER_FILE);
gl_cg_load_shader(2, NULL);
strlcpy(g_settings.video.second_pass_shader, DEFAULT_SHADER_FILE, sizeof(g_settings.video.second_pass_shader));
menu_reinit_settings();
}