mirror of
https://github.com/holub/mame
synced 2025-10-06 09:00:04 +03:00
apply minimize crashfix for bgfx too (nw)
This commit is contained in:
parent
f9faf36c6b
commit
10060c3636
@ -75,7 +75,9 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
osd_dim wdim = win->get_size();
|
osd_dim wdim = win->get_size();
|
||||||
win->target()->set_bounds(wdim.width(), wdim.height(), win->pixel_aspect());
|
if (wdim.width() > 0 && wdim.height() > 0)
|
||||||
|
win->target()->set_bounds(wdim.width(), wdim.height(), win->pixel_aspect());
|
||||||
|
|
||||||
win->target()->set_transform_container(!chain_transform);
|
win->target()->set_transform_container(!chain_transform);
|
||||||
return &win->target()->get_primitives();
|
return &win->target()->get_primitives();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user