Fixed clang build. (nw)

This commit is contained in:
Curt Coder 2014-10-14 17:48:47 +00:00
parent 6948f80c4f
commit 820e2b78cb
2 changed files with 4 additions and 4 deletions

View File

@ -197,9 +197,9 @@ static ADDRESS_MAP_START( macs_io, AS_IO, 8, macs_state )
//AM_RANGE(0xf0, 0xf0) AM_READ(st0016_dma_r) //AM_RANGE(0xf0, 0xf0) AM_READ(st0016_dma_r)
ADDRESS_MAP_END ADDRESS_MAP_END
static GFXDECODE_START( macs ) //static GFXDECODE_START( macs )
// GFXDECODE_ENTRY( NULL, 0, charlayout, 0, 16*4 ) // GFXDECODE_ENTRY( NULL, 0, charlayout, 0, 16*4 )
GFXDECODE_END //GFXDECODE_END
static INPUT_PORTS_START( macs_base ) static INPUT_PORTS_START( macs_base )
/*0*/ /*0*/

View File

@ -24,7 +24,7 @@ class model3_renderer : public poly_manager<float, model3_polydata, 6, 50000>
{ {
public: public:
model3_renderer(model3_state &state, int width, int height) model3_renderer(model3_state &state, int width, int height)
: poly_manager<float, model3_polydata, 6, 50000>(state.machine()), m_state(state) : poly_manager<float, model3_polydata, 6, 50000>(state.machine())//, m_state(state)
{ {
m_fb = auto_bitmap_rgb32_alloc(state.machine(), width, height); m_fb = auto_bitmap_rgb32_alloc(state.machine(), width, height);
m_zb = auto_bitmap_ind32_alloc(state.machine(), width, height); m_zb = auto_bitmap_ind32_alloc(state.machine(), width, height);
@ -40,7 +40,7 @@ public:
void draw_scanline_tex_alpha(INT32 scanline, const extent_t &extent, const model3_polydata &extradata, int threadid); void draw_scanline_tex_alpha(INT32 scanline, const extent_t &extent, const model3_polydata &extradata, int threadid);
private: private:
model3_state &m_state; //model3_state &m_state;
bitmap_rgb32 *m_fb; bitmap_rgb32 *m_fb;
bitmap_ind32 *m_zb; bitmap_ind32 *m_zb;
}; };