Fixed WindowsGame sample. Specialized InputSystem selection missing.

This commit is contained in:
Glatzemann 2012-08-18 06:48:01 +00:00
parent 96d6ad095e
commit fcb0d0d26a
2 changed files with 11 additions and 4 deletions

View File

@ -153,10 +153,13 @@ namespace ANX.Framework.NonXNA
foreach (ICreator creator in creators.Values)
{
Type[] interfaces = TypeHelper.GetInterfacesFrom(creator.GetType());
if(interfaces[0] is T)
{
yield return creator as T;
}
foreach (Type t in interfaces)
{
if (t.Name.Equals( typeof(T).Name ))
{
yield return creator as T;
}
}
}
}
#endregion

View File

@ -145,6 +145,10 @@
<Project>{97185A92-077D-4498-8B6A-8BFF04079044}</Project>
<Name>ANX.MediaSystem.Windows.OpenAL</Name>
</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">
<Project>{5BE49183-2F6F-4527-AC90-D816911FCF90}</Project>
<Name>ANX.RenderSystem.Windows.DX10</Name>