summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/rdptpipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/rdptpipe.h')
-rw-r--r--src/mame/video/rdptpipe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/rdptpipe.h b/src/mame/video/rdptpipe.h
index e47f6f17130..201b15d63c1 100644
--- a/src/mame/video/rdptpipe.h
+++ b/src/mame/video/rdptpipe.h
@@ -34,9 +34,9 @@ class n64_texture_pipe_t
}
m_start_span = false;
- for (int idx = 0; idx < 80; idx++)
+ for (auto & elem : m_texel_fetch)
{
- m_texel_fetch[idx] = &n64_texture_pipe_t::fetch_nop;
+ elem = &n64_texture_pipe_t::fetch_nop;
}
m_texel_fetch[ 8] = &n64_texture_pipe_t::fetch_rgba16_raw;