mirror of
https://github.com/holub/mame
synced 2025-06-30 07:58:56 +03:00
MESS specific: Fixed performance problems with -triplebuffer (bug #1539) [Justin
Kerk]
This commit is contained in:
parent
8690d5cdcd
commit
dbbf66bb0b
@ -735,7 +735,7 @@ try_again:
|
||||
d3d->presentation.MultiSampleType = D3DMULTISAMPLE_NONE;
|
||||
d3d->presentation.SwapEffect = D3DSWAPEFFECT_DISCARD;
|
||||
d3d->presentation.hDeviceWindow = window->hwnd;
|
||||
d3d->presentation.Windowed = !window->fullscreen || HAS_WINDOW_MENU;
|
||||
d3d->presentation.Windowed = !window->fullscreen || win_has_menu(window);
|
||||
d3d->presentation.EnableAutoDepthStencil = FALSE;
|
||||
d3d->presentation.AutoDepthStencilFormat = D3DFMT_D16;
|
||||
d3d->presentation.Flags = 0;
|
||||
@ -1147,7 +1147,7 @@ static int config_adapter_mode(running_machine *machine, win_window_info *window
|
||||
}
|
||||
|
||||
// choose a resolution: window mode case
|
||||
if (!window->fullscreen || !video_config.switchres || HAS_WINDOW_MENU)
|
||||
if (!window->fullscreen || !video_config.switchres || win_has_menu(window))
|
||||
{
|
||||
RECT client;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user