diff options
author | Chien Yang <[email protected]> | 2007-03-09 22:17:37 +0000 |
---|---|---|
committer | Chien Yang <[email protected]> | 2007-03-09 22:17:37 +0000 |
commit | 57eed97fba0f6c94ac4247f55f9600ff26082218 (patch) | |
tree | 113d51097a8dfc4d0fb2250dbe66334e8acd5a53 /src/classes | |
parent | c1ad5aac9f0ad6e1bed67c7a588c9463be71edf0 (diff) |
Fixed a typo in native pipe.
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@795 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/classes')
-rw-r--r-- | src/classes/jogl/javax/media/j3d/JoglPipeline.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/classes/jogl/javax/media/j3d/JoglPipeline.java b/src/classes/jogl/javax/media/j3d/JoglPipeline.java index 1d7d36a..c13c5ac 100644 --- a/src/classes/jogl/javax/media/j3d/JoglPipeline.java +++ b/src/classes/jogl/javax/media/j3d/JoglPipeline.java @@ -8418,13 +8418,12 @@ class JoglPipeline extends Pipeline { if (major == 1) { if (minor == 2) { System.err.println("JAVA 3D: OpenGL 1.2 detected; will run with reduced functionality"); - } else { - if (minor >= 3) { - gl13 = true; - } - if (minor >= 4) { - gl14 = true; - } + } + if (minor >= 3) { + gl13 = true; + } + if (minor >= 4) { + gl14 = true; } } else /* major >= 2 */ { gl13 = true; |