Fix headless tests

This commit is contained in:
Shane Woolcock 2019-02-28 20:39:55 +09:00
parent 94199e628c
commit b159e3ec31

View File

@ -59,7 +59,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
{
LabelText = "Screen mode",
Bindable = config.GetBindable<WindowMode>(FrameworkSetting.WindowMode),
ItemSource = host.Window.SupportedWindowModes,
ItemSource = host.Window?.SupportedWindowModes,
},
resolutionSettingsContainer = new Container
{