From f311eb6cf726a33a95fb6c005e16312865826e70 Mon Sep 17 00:00:00 2001 From: Chien Yang Date: Fri, 9 Mar 2007 18:45:36 +0000 Subject: 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 --- src/classes/jogl/javax/media/j3d/JoglPipeline.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } } -- cgit v1.2.3