Some classes have a member variable which is ofPixelFormat pixelFormat.
And some of these classes also have same-named arguments of member functions.
such as class ofPixels_,
void allocate(size_t w, size_t h, ofPixelFormat pixelFormat);
ofPixelFormat pixelFormat;
I think it makes troubles seriously.
Actually, ofPixels::setColor is not worked on my Mac(XCode) environment, but same code worked on Windows10 MSVC environment.
My point is, the function “void allocate(size_t w, size_t h, ofPixelFormat pixelFormat);” should be “void allocate(size_t w, size_t h, ofPixelFormat _pixelFormat);”.
Because the class have same named member variable.