Skip to content

Commit

Permalink
[Rendering] Properly register Xenko.Rendering in AssemblyRegistry (fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xen2 committed Mar 13, 2019
1 parent 559f0c4 commit 7be25ab
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions sources/engine/Xenko.Rendering/Module.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright (c) Xenko contributors (https://xenko.com)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System.Reflection;
using Xenko.Core;
using Xenko.Core.Reflection;

namespace Xenko.Rendering
{
internal class Module
{
[ModuleInitializer]
public static void Initialize()
{
AssemblyRegistry.Register(typeof(Module).GetTypeInfo().Assembly, AssemblyCommonCategories.Assets);
}
}
}

0 comments on commit 7be25ab

Please sign in to comment.