No idea why this issue hasn't been spotted before. Took several hours to figure out where exactly wrong memory access happens.. P.S. I really want to switch ImBuf->rect from int* to unsigned char*...
No idea why this issue hasn't been spotted before. Took several hours to figure out where exactly wrong memory access happens.. P.S. I really want to switch ImBuf->rect from int* to unsigned char*...