diff options
author | Julian Ibarz <[email protected]> | 2012-11-23 20:30:13 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-11-23 20:30:13 -0800 |
commit | 51f8fa18eb65a3a95a163bef71fcfffb49063be6 (patch) | |
tree | b4675775e3b37efd3bcb8a1a5de99ea1cda396c4 /build-tools/solaris-sparc | |
parent | aeaf36684124a82eb30ab13de3d4f6ceff071bd4 (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 <[email protected]>
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'build-tools/solaris-sparc')
0 files changed, 0 insertions, 0 deletions