I fixed it locally by adding this to the end of the function.
Code: Select all
if (level > 0) {
OGRE_DELETE[] (uint8*) scaled.data;
scaled.data = 0;
}
Code: Select all
if (level > 0) {
OGRE_DELETE[] (uint8*) scaled.data;
scaled.data = 0;
}