9 May
2010
9 May
'10
7:35 a.m.
On Wed, Apr 28, 2010 at 05:21:56PM +0000, corvid wrote:
I had just fixed the dw simple image test that hadn't requested a resize when setting the imgbuf. And now I just found that one of the scaled2 test's images needs it as well.
Perhaps we should make the resize argument to setBuffer() mandatory.
But, better yet, how about if Image::setBuffer() just does a queueResize() if either of its dimensions are LENGTH_AUTO?
I also think we should get rid of the resize parameter of setBuffer() entirely. I'm not 100% sure about when we need the queueResize(), that would need some testing.