try the code below:
auto img = Surface8u::create(72,63,false);
ip::resizeCopy(*img, img->getBounds(), ivec2(224, 195));
this lead to heap corruption at line 217 of ip::Resize.cpp ->
free( yWeights.weight );
Happens both debug/release, I assume it is related to MSVC's AVX/SSE optimisation that stores 16 bytes instead of 8.
try the code below:
this lead to heap corruption at line 217 of ip::Resize.cpp ->
free( yWeights.weight );Happens both debug/release, I assume it is related to MSVC's AVX/SSE optimisation that stores 16 bytes instead of 8.