aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Rushforth <[email protected]>2004-10-06 01:55:15 +0000
committerKevin Rushforth <[email protected]>2004-10-06 01:55:15 +0000
commit09849d2681919b872a7ccccd7e927f41f47b10ff (patch)
tree25a26f9a12e4afc205ca4345e1920d3df1751eb9
parent713f2d069ca4e891c251989deff8e0edd33a0814 (diff)
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
-rw-r--r--src/classes/linux/javax/media/j3d/NativeConfigTemplate3D.java4
-rw-r--r--src/classes/solaris/javax/media/j3d/NativeConfigTemplate3D.java4
2 files changed, 4 insertions, 4 deletions
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;
diff --git a/src/classes/solaris/javax/media/j3d/NativeConfigTemplate3D.java b/src/classes/solaris/javax/media/j3d/NativeConfigTemplate3D.java
index 80d0dd9..d892a53 100644
--- a/src/classes/solaris/javax/media/j3d/NativeConfigTemplate3D.java
+++ b/src/classes/solaris/javax/media/j3d/NativeConfigTemplate3D.java
@@ -46,7 +46,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);
@@ -141,7 +141,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;