From 09849d2681919b872a7ccccd7e927f41f47b10ff Mon Sep 17 00:00:00 2001 From: Kevin Rushforth Date: Wed, 6 Oct 2004 01:55:15 +0000 Subject: Fixed typo in fix for Issue 20 -- freeFbConfig method in NativeConfigTemplate3D should be freeFBConfig (capital "B") to match actual native call. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@54 ba19aa83-45c5-6ac9-afd3-db810772062c --- src/classes/linux/javax/media/j3d/NativeConfigTemplate3D.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/classes/linux') diff --git a/src/classes/linux/javax/media/j3d/NativeConfigTemplate3D.java b/src/classes/linux/javax/media/j3d/NativeConfigTemplate3D.java index 1a7869b..7e36e71 100644 --- a/src/classes/linux/javax/media/j3d/NativeConfigTemplate3D.java +++ b/src/classes/linux/javax/media/j3d/NativeConfigTemplate3D.java @@ -54,7 +54,7 @@ class NativeConfigTemplate3D { // Native method to free an GLXFBConfig struct. This is static since it // may need to be called to clean up the Canvas3D fbConfigTable after the // NativeConfigTemplate3D has been disposed of. - static native void freeFbConfig(long fbConfig); + static native void freeFBConfig(long fbConfig); // Native methods to return whether a particular attribute is available native boolean isStereoAvailable(long display, int screen, int vid); @@ -150,7 +150,7 @@ class NativeConfigTemplate3D { if (Canvas3D.fbConfigTable.get(gc1) == null) Canvas3D.fbConfigTable.put(gc1, new Long(fbConfig[0])); else - freeFbConfig(fbConfig[0]); + freeFBConfig(fbConfig[0]); } return gc1; -- cgit v1.2.3