src/osd/windows/drawd3d.c
| r2607 | r2608 | |
| 735 | 735 | d3d->presentation.MultiSampleType = D3DMULTISAMPLE_NONE; |
| 736 | 736 | d3d->presentation.SwapEffect = D3DSWAPEFFECT_DISCARD; |
| 737 | 737 | d3d->presentation.hDeviceWindow = window->hwnd; |
| 738 | | d3d->presentation.Windowed = !window->fullscreen || HAS_WINDOW_MENU; |
| 738 | d3d->presentation.Windowed = !window->fullscreen || win_has_menu(window); |
| 739 | 739 | d3d->presentation.EnableAutoDepthStencil = FALSE; |
| 740 | 740 | d3d->presentation.AutoDepthStencilFormat = D3DFMT_D16; |
| 741 | 741 | d3d->presentation.Flags = 0; |
| r2607 | r2608 | |
| 1147 | 1147 | } |
| 1148 | 1148 | |
| 1149 | 1149 | // choose a resolution: window mode case |
| 1150 | | if (!window->fullscreen || !video_config.switchres || HAS_WINDOW_MENU) |
| 1150 | if (!window->fullscreen || !video_config.switchres || win_has_menu(window)) |
| 1151 | 1151 | { |
| 1152 | 1152 | RECT client; |
| 1153 | 1153 | |