pixelnerve / BlockOpenNI

A c++ wrapper for OpenNI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ambigous calls against github head Cinder

eighteight opened this issue · 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.

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