diff options
author | 2018-03-01 13:27:59 +0100 | |
---|---|---|
committer | 2018-03-01 15:23:42 +0100 | |
commit | a8c2a9e958d79bb776d6bf337c7b2a7b2d82c4ea (patch) | |
tree | 6102aaf27f96c32cbfe27f44895a08eec385cb2e | |
parent | d2e07e48dc1e1b20fef82b66a7d7655b6411f83a (diff) |
model2.cpp: bump renderer max polygons to 0x10000 (nw)
-rw-r--r-- | src/mame/includes/model2.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/includes/model2.h b/src/mame/includes/model2.h index e65df1996d0..7ee008020db 100644 --- a/src/mame/includes/model2.h +++ b/src/mame/includes/model2.h @@ -469,14 +469,15 @@ static inline uint16_t get_texel( uint32_t base_x, uint32_t base_y, int x, int y return (texel & 0x0f); } -class model2_renderer : public poly_manager<float, m2_poly_extra_data, 4, 32768> +// 0x10000 = size of the tri_sorted_list array +class model2_renderer : public poly_manager<float, m2_poly_extra_data, 4, 0x10000> { public: typedef void (model2_renderer::*scanline_render_func)(int32_t scanline, const extent_t& extent, const m2_poly_extra_data& object, int threadid); public: model2_renderer(model2_state& state) - : poly_manager<float, m2_poly_extra_data, 4, 32768>(state.machine()) + : poly_manager<float, m2_poly_extra_data, 4, 0x10000>(state.machine()) , m_state(state) , m_destmap(512, 512) { |