aboutsummaryrefslogtreecommitdiffstats
path: root/build-tools/linux-i586
diff options
context:
space:
mode:
authorJulian Ibarz <julian.ibarz@gmail.com>2012-11-23 20:30:13 -0800
committerHarvey Harrison <harvey.harrison@gmail.com>2012-11-23 20:30:13 -0800
commit51f8fa18eb65a3a95a163bef71fcfffb49063be6 (patch)
treeb4675775e3b37efd3bcb8a1a5de99ea1cda396c4 /build-tools/linux-i586
parentaeaf36684124a82eb30ab13de3d4f6ceff071bd4 (diff)
j3dcore: avoid null pointer when reading raster depth-only from Canvas3d
Taken from java3d issue 593: When I'm reading the z-buffer with a Raster, a NullPointerException occurs (in fact, two). This is because the image raster is accessed whereas is not initialized, and also because we send the depthComp to the native readRaster function instead of the real buffer (i named it depthBuffer). Also the destination offset is send to the native readRaster function instead of source offset. I made a very light patch that corrects this bugs. Signed-off-by: Julian Ibarz <julian.ibarz@gmail.com> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Diffstat (limited to 'build-tools/linux-i586')
0 files changed, 0 insertions, 0 deletions