cinder / Cinder

Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.
http://libcinder.org
Other
5.27k stars 939 forks source link

Removed unnecessary pass by reference for ImageTargetGlTexture channelOrder param #2260

Closed chaoticbob closed 2 years ago

chaoticbob commented 2 years ago

The channelOrder parameter in ImageTargetGlTexture::create and constructor is used to set a value in the base class and not as an output variable. Having it as a pass by reference param is a bit confusing since it doesn't actually return a value.