elliotwoods / ofxKinectForWindows2

Implementation of Kinect For Windows v2 API (not using KinectCommonBridge)
163 stars 70 forks source link

Multisource updates #60

Closed fralken closed 8 years ago

fralken commented 8 years ago

Just another PR to address a few issues:

  1. When retrieving the color fram size during depth frame init, rather than throwing an exception in case of error and absorbing it a few lines later, I think it is better to simply check the error code, so that it's easier to release any acquired resource.
  2. updated the "release sources" logic to be consistent with MultiSource, so that it is possible to release sources initialized with MultiSource by calling releaseMultiSource()
  3. moved shaders example in correct folder
elliotwoods commented 8 years ago

thank you!

elliotwoods commented 8 years ago

(and sorry for the delay)