aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/jogl
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/jogl')
-rw-r--r--src/classes/jogl/javax/media/j3d/JoglPipeline.java32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/classes/jogl/javax/media/j3d/JoglPipeline.java b/src/classes/jogl/javax/media/j3d/JoglPipeline.java
index b269a56..2c4fb3d 100644
--- a/src/classes/jogl/javax/media/j3d/JoglPipeline.java
+++ b/src/classes/jogl/javax/media/j3d/JoglPipeline.java
@@ -80,10 +80,6 @@ import com.sun.opengl.util.BufferUtil;
* pipeline.
*/
class JoglPipeline extends Pipeline {
-
- // Flags indicating whether the Cg or GLSL libraries are available.
- private boolean cgLibraryAvailable = false;
-
// Currently prints for entry points not yet implemented
private static final boolean DEBUG = true;
// Currently prints for entry points already implemented
@@ -118,34 +114,6 @@ class JoglPipeline extends Pipeline {
}
/**
- * Load all of the required libraries
- */
- void loadLibraries(int globalShadingLanguage) {
- if (globalShadingLanguage == Shader.SHADING_LANGUAGE_CG) {
- // Try to load the jogl_cg library and set the
- // cgLibraryAvailable flag to true if loads successfully; note
- // that successfully performing initialization of this class
- // will cause the Cg native library to be loaded on our behalf
- try {
- Class.forName("com.sun.opengl.cg.CgGL");
- cgLibraryAvailable = true;
- } catch (Exception ex) {
- System.err.println(ex);
- } catch (Error ex) {
- System.err.println(ex);
- }
- }
- }
-
- /**
- * Returns true if the Cg library is loaded and available. Note that this
- * does not necessarily mean that Cg is supported by the graphics card.
- */
- boolean isCgLibraryAvailable() {
- return cgLibraryAvailable;
- }
-
- /**
* Returns true if the GLSL library is loaded and available. Note that this
* does not necessarily mean that GLSL is supported by the graphics card.
*/