such an obvious mistake on combineRGBAndDepthOutput.c , it occured to me while trying to fall asleep :P