summaryrefslogtreecommitdiffhomepage
path: root/tracker-kinect-face/kinect_face_tracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-kinect-face/kinect_face_tracker.cpp')
-rw-r--r--tracker-kinect-face/kinect_face_tracker.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/tracker-kinect-face/kinect_face_tracker.cpp b/tracker-kinect-face/kinect_face_tracker.cpp
index 9f4f133b..104ecda8 100644
--- a/tracker-kinect-face/kinect_face_tracker.cpp
+++ b/tracker-kinect-face/kinect_face_tracker.cpp
@@ -111,9 +111,6 @@ KinectFaceTracker::~KinectFaceTracker()
// done with color frame reader
SafeRelease(iColorFrameReader);
- // done with coordinate mapper
- SafeRelease(iCoordinateMapper);
-
// close the Kinect Sensor
if (iKinectSensor)
{
@@ -248,12 +245,6 @@ HRESULT KinectFaceTracker::InitializeDefaultSensor()
hr = iKinectSensor->Open();
}
- // TODO: check if we still need that guy
- if (SUCCEEDED(hr))
- {
- hr = iKinectSensor->get_CoordinateMapper(&iCoordinateMapper);
- }
-
// Create color frame reader
if (SUCCEEDED(hr))
{