diff --git a/ANX.Framework/Content/ResourceContentManager.cs b/ANX.Framework/Content/ResourceContentManager.cs index 85a5a57c..a55e5fba 100644 --- a/ANX.Framework/Content/ResourceContentManager.cs +++ b/ANX.Framework/Content/ResourceContentManager.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; using System.IO; using System.Resources; -using System.IO; #endregion // Using Statements diff --git a/ANX.Framework/Storage/StorageDevice.cs b/ANX.Framework/Storage/StorageDevice.cs index 9f18d130..4a6372b3 100644 --- a/ANX.Framework/Storage/StorageDevice.cs +++ b/ANX.Framework/Storage/StorageDevice.cs @@ -59,8 +59,9 @@ namespace ANX.Framework.Storage private DriveInfo storageDrive; private Func<string, StorageContainer> openContainerDelegate = null; - +#pragma warning disable 0067 //This event is never used public static event EventHandler<EventArgs> DeviceChanged; +#pragma warning restore 0067 internal StorageDevice(string storagePath) { diff --git a/InputSystems/ANX.InputSystem.Windows.Kinect/Kinect.cs b/InputSystems/ANX.InputSystem.Windows.Kinect/Kinect.cs index ee2a563e..f7f89d32 100644 --- a/InputSystems/ANX.InputSystem.Windows.Kinect/Kinect.cs +++ b/InputSystems/ANX.InputSystem.Windows.Kinect/Kinect.cs @@ -74,7 +74,7 @@ namespace ANX.InputSystem.Windows.Kinect public Kinect() { - pNui = new Runtime(); + pNui = Runtime.Kinects[0]; pNui.Initialize(RuntimeOptions.UseDepthAndPlayerIndex | RuntimeOptions.UseSkeletalTracking | RuntimeOptions.UseColor); pNui.SkeletonEngine.TransformSmooth = true; diff --git a/RenderSystems/ANX.RenderSystem.Windows.DX11/GraphicsDeviceWindowsDX11.cs b/RenderSystems/ANX.RenderSystem.Windows.DX11/GraphicsDeviceWindowsDX11.cs index ac5d65cb..3b2ba8bf 100644 --- a/RenderSystems/ANX.RenderSystem.Windows.DX11/GraphicsDeviceWindowsDX11.cs +++ b/RenderSystems/ANX.RenderSystem.Windows.DX11/GraphicsDeviceWindowsDX11.cs @@ -10,7 +10,6 @@ using ANX.Framework.NonXNA; using ANX.Framework.Graphics; using SharpDX.Direct3D11; using ANX.Framework; -using ANX.Framework.Graphics; using SharpDX.D3DCompiler; #endregion // Using Statements