fix UI tilemap viewer (nw)

This commit is contained in:
Alex W. Jackson 2014-03-15 08:03:02 +00:00
parent 25db822531
commit f6153bc499

View File

@ -1152,7 +1152,6 @@ static void tilemap_update_bitmap(running_machine &machine, ui_gfx_state *state,
// allocate new stuff
state->bitmap = global_alloc(bitmap_rgb32(width, height));
state->bitmap->set_palette(machine.first_screen()->palette()->palette());
state->texture = machine.render().texture_alloc();
state->texture->set_bitmap(*state->bitmap, state->bitmap->cliprect(), TEXFORMAT_RGB32);