aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChien Yang <[email protected]>2007-03-09 18:45:36 +0000
committerChien Yang <[email protected]>2007-03-09 18:45:36 +0000
commitf311eb6cf726a33a95fb6c005e16312865826e70 (patch)
treeed63bcec967d945634962c700756143cecd82539
parentba619e48079d937ff38a9359ae3a715cb450221f (diff)
Set gl14 to true if driver is OpenGL version 1.4
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@792 ba19aa83-45c5-6ac9-afd3-db810772062c
-rw-r--r--src/classes/jogl/javax/media/j3d/JoglPipeline.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/classes/jogl/javax/media/j3d/JoglPipeline.java b/src/classes/jogl/javax/media/j3d/JoglPipeline.java
index a8d6db5..6d7ba95 100644
--- a/src/classes/jogl/javax/media/j3d/JoglPipeline.java
+++ b/src/classes/jogl/javax/media/j3d/JoglPipeline.java
@@ -8422,7 +8422,10 @@ class JoglPipeline extends Pipeline {
} else {
if (minor == 2) {
System.err.println("JAVA 3D: OpenGL 1.2 detected; will run with reduced functionality");
- } else {
+ } else if ( minor == 4 ) {
+ gl14 = true;
+ }
+ else {
gl13 = true;
}
}