openframeworks/openFrameworks — pull request #1154 by kylemcdonald (2012-04-09 18:39:45+00:00)
Title: fix opencv allocation

sorry, too much dance music. wasn't paying attention to the commit range.

i tested this by creating an unallocated image and running the updateTexture(), getPixelsRef(), and draw().

before the fix, EXC_BAD_ACCESS, after no problem.