mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
d3d: Fix variable assignment in d3d_set_shader
This commit is contained in:
parent
c5ebf22bfc
commit
6ad6ae5e57
@ -836,7 +836,7 @@ static bool d3d_set_shader(void *data, enum rarch_shader_type type, const char *
|
|||||||
|
|
||||||
auto old_shader = d3d->cg_shader;
|
auto old_shader = d3d->cg_shader;
|
||||||
bool restore_old = false;
|
bool restore_old = false;
|
||||||
d3d->cg_shader = path;
|
d3d->cg_shader = shader;
|
||||||
|
|
||||||
if (!d3d_process_shader(d3d) || !d3d_restore(d3d))
|
if (!d3d_process_shader(d3d) || !d3d_restore(d3d))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user