From 53a0faa0cce4546b441cb6af033adaabd2f1da94 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 25 Apr 2002 03:21:58 +0000 Subject: added pepijn's bugfix (jdk <= 1.3 GC, tesselation) SGI Irix capable code .. correct NIO usage for tesselation .. minor stuff .. --- gl4java/GLContext.java.skel | 8 ++++---- gl4java/GLUFunc14.java | 2 +- gl4java/GLUFunc14JauJNI.java | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'gl4java') diff --git a/gl4java/GLContext.java.skel b/gl4java/GLContext.java.skel index 3e11bc8..7e441ba 100644 --- a/gl4java/GLContext.java.skel +++ b/gl4java/GLContext.java.skel @@ -2203,7 +2203,7 @@ public class GLContext extends Object if (libpath == null) { libpath = findInPath(System.getProperty("sun.boot.library.path"), jawtName0); } else if (gljClassDebug) { - System.err.println("Located: " + jawtName0 + ", within: java.library.path: "+ + System.err.println("Located: " + jawtName0 + ": "+libpath+", within: java.library.path: "+ System.getProperty("java.library.path")); found = true; } @@ -2222,7 +2222,7 @@ public class GLContext extends Object libpath = findInPath(System.getProperty("java.library.path"), jawtName1); } else if (gljClassDebug && !found) { - System.err.println("Located: " + jawtName0 + ", within: sun.boot.library.path: "+ + System.err.println("Located: " + jawtName0 + ": "+libpath+", within: sun.boot.library.path: "+ System.getProperty("sun.boot.library.path")); found = true; } @@ -2234,7 +2234,7 @@ public class GLContext extends Object if (libpath == null) { libpath = findInPath(System.getProperty("sun.boot.library.path"), jawtName1); } else if (gljClassDebug && !found) { - System.err.println("Located: " + jawtName1 + ", within: java.library.path: "+ + System.err.println("Located: " + jawtName1 + ": "+libpath+", within: java.library.path: "+ System.getProperty("java.library.path")); found = true; } @@ -2246,7 +2246,7 @@ public class GLContext extends Object System.err.println(" sun.boot.library.path = " + System.getProperty("sun.boot.library.path")); return false; } else if (gljClassDebug && !found) { - System.err.println("Located: " + jawtName0 + ", within: sun.boot.library.path: "+ + System.err.println("Located: " + jawtName0 + ": "+libpath+", within: sun.boot.library.path: "+ System.getProperty("sun.boot.library.path")); found = true; } diff --git a/gl4java/GLUFunc14.java b/gl4java/GLUFunc14.java index 2e81dec..8c24cfb 100644 --- a/gl4java/GLUFunc14.java +++ b/gl4java/GLUFunc14.java @@ -37,7 +37,7 @@ public void gluTessBeginPolygon ( long tess, Buffer data) ; extern void gluTessVertex ( GLUtesselator * tess , GLdouble * location , GLvoid * data ) ; * */ -public void gluTessVertex ( long tess, double[] location, Buffer data) ; +public void gluTessVertex ( long tess, DoubleBuffer location, Buffer data) ; public String gluErrorString ( int errorCode ) ; diff --git a/gl4java/GLUFunc14JauJNI.java b/gl4java/GLUFunc14JauJNI.java index 5d24f22..14b0cf2 100644 --- a/gl4java/GLUFunc14JauJNI.java +++ b/gl4java/GLUFunc14JauJNI.java @@ -37,7 +37,7 @@ public final native void gluTessBeginPolygon ( long tess, Buffer data) ; extern void gluTessVertex ( GLUtesselator * tess , GLdouble * location , GLvoid * data ) ; * */ -public final native void gluTessVertex ( long tess, double[] location, Buffer data) ; +public final native void gluTessVertex ( long tess, DoubleBuffer location, Buffer data) ; public final native String gluErrorString ( int errorCode ) ; -- cgit v1.2.3