openframeworks/openFrameworks — pull request #957 by elliotwoods (2012-02-24 06:47:11+00:00)
Title: Fix const load data on of texture

hey!
i know you guys must be busy

but here's a couple of small things that have been quite important to me

1. const correctness of ofTexture::loadData
2. ofTexture::allocate(const ofPIxels& pix)

i think it's also worth adding allocate(const ofShortPixels& pix) and allocate(const ofFloatPixels pix) in a seperate pull request later when they can be tested properly

pull pull pull!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

elliot