mirror of
https://github.com/libretro/RetroArch
synced 2025-02-12 00:40:26 +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;
|
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 false;
|
||||||
|
|
||||||
return true;
|
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));
|
path, sizeof(hlsl->cg_shader->pass[0].source.path));
|
||||||
|
|
||||||
hlsl->d3d = (d3d_video_t*)data;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user