BlockOpenNI icon indicating copy to clipboard operation
BlockOpenNI copied to clipboard

Ambigous calls against github head Cinder

Open eighteight opened this issue 13 years ago • 1 comments

These lines: mColorTex.update( getColorImage() ); mDepthTex.update( getDepthImage24() ); // Histogram Produce this error:

    Call to member function "update" is ambiguous.

In the latest Cinder. Is it supposed to work against some older Cinder version only? It seems that Cinder's Textures do not accept ImageSourceRef in their update method anymore.

eighteight avatar Apr 22 '12 06:04 eighteight

The fix is to use "=" instead of "update". e.g.: mColorTex = getColorImage();

eighteight avatar Apr 22 '12 22:04 eighteight