mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
(XDK360) Another buildfix
This commit is contained in:
parent
0edbf8d5c9
commit
861ad8b3ab
@ -274,7 +274,7 @@ static bool hlsl_load_shader(hlsl_shader_data_t *hlsl,
|
||||
|
||||
hlsl->d3d = (d3d_video_t*)data;
|
||||
|
||||
if (!hlsl_compile_program(hlsl, data, i + 1, &hlsl->prg[i + 1], &program_info))
|
||||
if (!hlsl_compile_program(hlsl, i + 1, &hlsl->prg[i + 1], &program_info))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
@ -304,7 +304,7 @@ static bool hlsl_load_plain(hlsl_shader_data_t *hlsl, void *data, const char *pa
|
||||
path, sizeof(hlsl->cg_shader->pass[0].source.path));
|
||||
|
||||
hlsl->d3d = (d3d_video_t*)data;
|
||||
if (!hlsl_compile_program(hlsl, data, 1, &hlsl->prg[1], &program_info))
|
||||
if (!hlsl_compile_program(hlsl, 1, &hlsl->prg[1], &program_info))
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user