(PS3) Shaders can be loaded through the menu

This commit is contained in:
TwinAphex51224 2012-01-30 00:48:42 +01:00
parent fac78083ca
commit b060c71de4

View File

@ -29,6 +29,7 @@
#include "shared.h"
#include "../general.h"
#include "../gfx/shader_cg.h"
#include "menu-port-defines.h"
#include "menu.h"
@ -406,6 +407,10 @@ static void select_file(uint32_t menu_id)
case GAME_AWARE_SHADER_CHOICE:
break;
case SHADER_CHOICE:
{
bool retval = gl_cg_load_shader(set_shader+1, path);
printf("retval: %d\n", retval);
}
break;
case PRESET_CHOICE:
break;