sosolimited / ofxSoso

openFrameworks addon with scene graph, animations, enhanced text, and more.
www.sosolimited.com
Other
74 stars 28 forks source link

Redesign ofImage to use ofTexture #58

Closed ericgunther closed 9 years ago

ericgunther commented 10 years ago

To be able to clean up image pixel memory, we should use an ofTexture in combination with the ofLoadImage() function.

Adding the destroyPixels flag to ofImage violates some promises inherent in the object architecture.