aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/javax/media
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-11-27 22:56:13 +0000
committerSven Gothel <[email protected]>2008-11-27 22:56:13 +0000
commit063bcd57645f4cf52a346dae432f39b1bd7285b5 (patch)
treece1bf72946b2d7f78b20147e571928f8c43d4d15 /src/classes/javax/media
parent93531a87d4ec985e6088fd8c63b75457c09d8c0e (diff)
../jogl.log
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1810 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/javax/media')
-rw-r--r--src/classes/javax/media/opengl/GLArrayDataServer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classes/javax/media/opengl/GLArrayDataServer.java b/src/classes/javax/media/opengl/GLArrayDataServer.java
index 53b5b896a..ead0b58f2 100644
--- a/src/classes/javax/media/opengl/GLArrayDataServer.java
+++ b/src/classes/javax/media/opengl/GLArrayDataServer.java
@@ -186,8 +186,8 @@ public class GLArrayDataServer extends GLArrayDataClient implements GLArrayDataE
if( ! (GLProfile.isGL2ES2() && vboBufferUsage==GL2ES2.GL_STREAM_DRAW) ) {
switch(vboBufferUsage) {
case -1: // nop
- case GL2ES1.GL_STATIC_DRAW:
- case GL2ES1.GL_DYNAMIC_DRAW:
+ case GL.GL_STATIC_DRAW:
+ case GL.GL_DYNAMIC_DRAW:
break;
default:
throw new GLException("invalid vboBufferUsage: "+vboBufferUsage+":\n\t"+this);