Fixed WindowsGame sample. Specialized InputSystem selection missing.
This commit is contained in:
parent
96d6ad095e
commit
fcb0d0d26a
@ -153,10 +153,13 @@ namespace ANX.Framework.NonXNA
|
|||||||
foreach (ICreator creator in creators.Values)
|
foreach (ICreator creator in creators.Values)
|
||||||
{
|
{
|
||||||
Type[] interfaces = TypeHelper.GetInterfacesFrom(creator.GetType());
|
Type[] interfaces = TypeHelper.GetInterfacesFrom(creator.GetType());
|
||||||
if(interfaces[0] is T)
|
foreach (Type t in interfaces)
|
||||||
{
|
{
|
||||||
yield return creator as T;
|
if (t.Name.Equals( typeof(T).Name ))
|
||||||
}
|
{
|
||||||
|
yield return creator as T;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -145,6 +145,10 @@
|
|||||||
<Project>{97185A92-077D-4498-8B6A-8BFF04079044}</Project>
|
<Project>{97185A92-077D-4498-8B6A-8BFF04079044}</Project>
|
||||||
<Name>ANX.MediaSystem.Windows.OpenAL</Name>
|
<Name>ANX.MediaSystem.Windows.OpenAL</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\..\PlatformSystems\ANX.PlatformSystem.Windows\ANX.PlatformSystem.Windows.csproj">
|
||||||
|
<Project>{068EB2E9-963C-4E1B-8831-E25011F11FFE}</Project>
|
||||||
|
<Name>ANX.PlatformSystem.Windows</Name>
|
||||||
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\..\RenderSystems\ANX.Framework.Windows.DX10\ANX.RenderSystem.Windows.DX10.csproj">
|
<ProjectReference Include="..\..\RenderSystems\ANX.Framework.Windows.DX10\ANX.RenderSystem.Windows.DX10.csproj">
|
||||||
<Project>{5BE49183-2F6F-4527-AC90-D816911FCF90}</Project>
|
<Project>{5BE49183-2F6F-4527-AC90-D816911FCF90}</Project>
|
||||||
<Name>ANX.RenderSystem.Windows.DX10</Name>
|
<Name>ANX.RenderSystem.Windows.DX10</Name>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user