mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
model2.cpp: Attempt to relax poly_manager params, crashes less often now (nw)
This commit is contained in:
parent
d394762482
commit
7b7f5a5b48
@ -331,14 +331,14 @@ static inline uint16_t get_texel( uint32_t base_x, uint32_t base_y, int x, int y
|
||||
|
||||
struct triangle;
|
||||
|
||||
class model2_renderer : public poly_manager<float, m2_poly_extra_data, 4, 4000>
|
||||
class model2_renderer : public poly_manager<float, m2_poly_extra_data, 10, 32768>
|
||||
{
|
||||
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, 4000>(state.machine())
|
||||
: poly_manager<float, m2_poly_extra_data, 10, 32768>(state.machine())
|
||||
, m_state(state)
|
||||
, m_destmap(state.m_screen->width(), state.m_screen->height())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user