New question #525419 on Cheerp:
https://answers.launchpad.net/cheerp/+question/525419

Hi,
I have a vector that has a std::array as base class and have some problem with 
cheerp::MakeTypedArray

This code produce an error:
     mpGL->uniform4fv(muColor, cheerp::MakeTypedArray(mClrSrf.data()));

This code works fine:
    mpGL->uniform4f(muColor, mClrSrf[0],mClrSrf[1],mClrSrf[2],mClrSrf[3]);

Regards Johan

-- 
You received this question notification because your team Leaningtech
Team is an answer contact for Cheerp.

-- 
Mailing list: https://launchpad.net/~leaningtech-dev
Post to     : leaningtech-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~leaningtech-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to