From 063bcd57645f4cf52a346dae432f39b1bd7285b5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 27 Nov 2008 22:56:13 +0000 Subject: ../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 --- src/classes/javax/media/opengl/GLArrayDataServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/classes/javax/media/opengl/GLArrayDataServer.java') 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); -- cgit v1.2.3