Skip to content

Commit

Permalink
Texture store should add the renderer.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Aug 10, 2022
1 parent 62fd956 commit 327d9f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public TestManageFontPreview()
private void load(GameHost host)
{
var resources = new KaraokeRuleset().CreateResourceStore();
var textureStore = new TextureStore(host.CreateTextureLoaderStore(new NamespacedResourceStore<byte[]>(resources, @"Textures")));
var textureStore = new TextureStore(host.Renderer, host.CreateTextureLoaderStore(new NamespacedResourceStore<byte[]>(resources, @"Textures")));
Dependencies.CacheAs(textureStore);

Add(new ManageFontPreview
Expand Down

0 comments on commit 327d9f3

Please sign in to comment.