openframeworks/openFrameworks — pull request #2091 by kylemcdonald (2013-06-14 19:13:04+00:00)
Title: autoallocate on ofTexture::loadData changes

if you try to loadData into an empty texture, or a texture with a different size or format than the data you're uploading, the texture will reallocate itself.

there were some ancient/irrelevant comments i removed too.