summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/d3d/d3dhlsl.cpp
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-01-27 09:02:06 +0100
committer ImJezze <jezze@gmx.net>2016-01-27 09:02:06 +0100
commit801956ff64182612392a57b23e04d12d893d1a5a (patch)
tree9af711fd4a345982604dc849cc1a33a4bb2797f7 /src/osd/modules/render/d3d/d3dhlsl.cpp
parent0d1e14b771ed72d8e9a0d42fd05ebfe6fe63016a (diff)
Fixed skip of phosphor pass (nw)
Diffstat (limited to 'src/osd/modules/render/d3d/d3dhlsl.cpp')
-rw-r--r--src/osd/modules/render/d3d/d3dhlsl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/render/d3d/d3dhlsl.cpp b/src/osd/modules/render/d3d/d3dhlsl.cpp
index 507553ccc14..43d6ec9bc48 100644
--- a/src/osd/modules/render/d3d/d3dhlsl.cpp
+++ b/src/osd/modules/render/d3d/d3dhlsl.cpp
@@ -1367,7 +1367,7 @@ int shaders::phosphor_pass(render_target *rt, cache_target *ct, int source_index
int next_index = source_index;
// skip phosphor if no influencing settings
- if (options->phosphor[0] == 0.0f && options->defocus[0] == 0.0f && options->defocus[1] == 0.0f)
+ if (options->phosphor[0] == 0.0f && options->phosphor[1] == 0.0f && options->phosphor[2] == 0.0f)
{
return next_index;
}