summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/drawd3d.c
diff options
context:
space:
mode:
author Ryan Holtz <rholtz@batcountryentertainment.com>2011-05-20 07:51:59 +0000
committer Ryan Holtz <rholtz@batcountryentertainment.com>2011-05-20 07:51:59 +0000
commit0235cef53428e55e4cb96309f0724be88f8074ca (patch)
treef063ddb7e1f40dc1887115d62b8a1a513ea9598a /src/osd/windows/drawd3d.c
parentfd7a110eba491ceaae928908d9c19b326701e314 (diff)
Fix for -noyiq issues, nw
Diffstat (limited to 'src/osd/windows/drawd3d.c')
-rw-r--r--src/osd/windows/drawd3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/windows/drawd3d.c b/src/osd/windows/drawd3d.c
index 520d4baba87..c8236b678a8 100644
--- a/src/osd/windows/drawd3d.c
+++ b/src/osd/windows/drawd3d.c
@@ -2495,7 +2495,7 @@ static void primitive_flush_pending(d3d_info *d3d)
/* Scanlines and shadow mask */
curr_effect = d3d->post_effect;
- (*d3dintf->effect.set_texture)(curr_effect, "Diffuse", poly->texture->d3dtexture3);
+ (*d3dintf->effect.set_texture)(curr_effect, "Diffuse", poly->texture->d3dtexture0);
result = (*d3dintf->device.set_render_target)(d3d->device, 0, backbuffer);
if (result != D3D_OK) mame_printf_verbose("Direct3D: Error %08X during device set_render_target call 5\n", (int)result);