diff options
author | Kenneth Russel <[email protected]> | 2006-01-11 08:04:52 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-01-11 08:04:52 +0000 |
commit | dbe38483ab1d2278940bd06aa0f8bf183201182e (patch) | |
tree | 17328b57d91a3f4900a675559559843a7b841261 /src/classes/com/sun/gluegen/CMethodBindingEmitter.java | |
parent | e0236d9cbde44381f74a79c9bb5471cede9f94d2 (diff) |
Fixed Issue 84: glReadPixels does not commit results
Changed use of JNI_ABORT to 0 in ReleasePrimitiveArrayCritical calls.
This should not change the behavior of the generated glue code in any
way, at least on the HotSpot JVM, but is being done for completeness
of the GlueGen tool.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@533 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/gluegen/CMethodBindingEmitter.java')
-rw-r--r-- | src/classes/com/sun/gluegen/CMethodBindingEmitter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/com/sun/gluegen/CMethodBindingEmitter.java b/src/classes/com/sun/gluegen/CMethodBindingEmitter.java index 4208dfff1..92225882f 100644 --- a/src/classes/com/sun/gluegen/CMethodBindingEmitter.java +++ b/src/classes/com/sun/gluegen/CMethodBindingEmitter.java @@ -785,7 +785,7 @@ public class CMethodBindingEmitter extends FunctionEmitter writer.print(binding.getArgumentName(i)); writer.print(", "); writer.print(convName); - writer.println(", JNI_ABORT);"); + writer.println(", 0);"); } else { // clean up the case where the array elements are of a type that needed // a data copy operation to convert from the java memory model to the |