mirror of
https://github.com/holub/mame
synced 2025-06-03 11:26:56 +03:00
fix UI tilemap viewer (nw)
This commit is contained in:
parent
25db822531
commit
f6153bc499
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user