aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/sun/opengl/util/ImmModeSink.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com/sun/opengl/util/ImmModeSink.java')
-rw-r--r--src/jogl/classes/com/sun/opengl/util/ImmModeSink.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/sun/opengl/util/ImmModeSink.java b/src/jogl/classes/com/sun/opengl/util/ImmModeSink.java
index 90ea9ce7c..ad4e58129 100644
--- a/src/jogl/classes/com/sun/opengl/util/ImmModeSink.java
+++ b/src/jogl/classes/com/sun/opengl/util/ImmModeSink.java
@@ -258,7 +258,7 @@ public class ImmModeSink {
int cComps, int cDataType,
int nComps, int nDataType,
int tComps, int tDataType, boolean useGLSL) {
- if(useGLSL && !GLProfile.isGL2ES2()) {
+ if(useGLSL && !GLProfile.hasGLSL()) {
throw new GLException("ImmModeSink GLSL usage not supported for profile: "+GLProfile.getProfile());
}
vboSet = new VBOSet(glBufferUsage, initialSize,