aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/sun/opengl/util/GLArrayDataClient.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com/sun/opengl/util/GLArrayDataClient.java')
-rw-r--r--src/jogl/classes/com/sun/opengl/util/GLArrayDataClient.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jogl/classes/com/sun/opengl/util/GLArrayDataClient.java b/src/jogl/classes/com/sun/opengl/util/GLArrayDataClient.java
index 8bfd60834..7037da97d 100644
--- a/src/jogl/classes/com/sun/opengl/util/GLArrayDataClient.java
+++ b/src/jogl/classes/com/sun/opengl/util/GLArrayDataClient.java
@@ -63,8 +63,8 @@ public class GLArrayDataClient extends GLArrayDataWrapper implements GLArrayData
int initialSize)
throws GLException
{
- if(!GLProfile.isGL2ES2()) {
- throw new GLException("GLArrayDataServer not supported for profile: "+GLProfile.getProfile());
+ if(!GLProfile.hasGLSL()) {
+ throw new GLException("GLArrayDataClient.GLSL not supported for profile: "+GLProfile.getProfile());
}
GLProfile.isValidArrayDataType(-1, comps, dataType, true, true);
@@ -78,8 +78,8 @@ public class GLArrayDataClient extends GLArrayDataWrapper implements GLArrayData
int stride, Buffer buffer)
throws GLException
{
- if(!GLProfile.isGL2ES2()) {
- throw new GLException("GLArrayDataServer not supported for profile: "+GLProfile.getProfile());
+ if(!GLProfile.hasGLSL()) {
+ throw new GLException("GLArrayDataClient.GLSL not supported for profile: "+GLProfile.getProfile());
}
GLProfile.isValidArrayDataType(-1, comps, dataType, true, true);