Open jbush001 opened 5 years ago
The issue is that the first vector elements of the u and v values passed into Texture::readPixels are NaN:
v0 7fffffff7fffffff7fffffff7fffffff4323b6e1432424984324924e4325000543220000432236dc43226db74322a49343216db3432192474321b6d84321db6b
The float->integer conversion changes these to 0x80000000, which creates an invalid memory address. I verified this by adding checking code:
if (tx[0] < 0 || tx[0] > 1024) {
printf("tx[0] %08x u[0] %x uRaster[0] %x\n", tx[0],
asInt(u[0]), asInt(uRaster[0]));
}
tx[0] 80000000 u[0] 7fffffff uRaster[0] 7fffffff
This appears to be a new issue
The problem happens here, in Texture::readPixels: