mayingzhen / nvidia-texture-tools

Automatically exported from code.google.com/p/nvidia-texture-tools
Other
0 stars 0 forks source link

FloatImage::resizeChannelCount() doesn't reallocate properly #155

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
change this line from:

realloc<float>(m_mem, count);

to:

m_mem = realloc<float>(m_mem, count);

Original issue reported on code.google.com by pope...@gmail.com on 6 Dec 2010 at 11:58

GoogleCodeExporter commented 8 years ago
Whoops! Thanks for the catch.

Original comment by cast...@gmail.com on 8 Dec 2010 at 7:55

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1214.

Original comment by cast...@gmail.com on 8 Dec 2010 at 7:56