Fixed a few warnings.

This commit is contained in:
SND\simsmaster_cp 2011-11-17 17:05:27 +00:00
parent d2a4acbf3d
commit a71dc9ae0f
4 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,6 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Resources;
using System.IO;
#endregion // Using Statements

View File

@ -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)
{

View File

@ -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;

View File

@ -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