From 327d9f32fe828e04baa18af826230ee87fd515b4 Mon Sep 17 00:00:00 2001 From: andy840119 Date: Wed, 10 Aug 2022 20:44:53 +0800 Subject: [PATCH] Texture store should add the renderer. --- .../Screens/TestManageFontPreview.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Karaoke.Tests/Screens/TestManageFontPreview.cs b/osu.Game.Rulesets.Karaoke.Tests/Screens/TestManageFontPreview.cs index c3bc1f515..d2326b460 100644 --- a/osu.Game.Rulesets.Karaoke.Tests/Screens/TestManageFontPreview.cs +++ b/osu.Game.Rulesets.Karaoke.Tests/Screens/TestManageFontPreview.cs @@ -33,7 +33,7 @@ public TestManageFontPreview() private void load(GameHost host) { var resources = new KaraokeRuleset().CreateResourceStore(); - var textureStore = new TextureStore(host.CreateTextureLoaderStore(new NamespacedResourceStore(resources, @"Textures"))); + var textureStore = new TextureStore(host.Renderer, host.CreateTextureLoaderStore(new NamespacedResourceStore(resources, @"Textures"))); Dependencies.CacheAs(textureStore); Add(new ManageFontPreview