diff options
author | Kenneth Russel <[email protected]> | 2008-08-18 01:26:48 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-08-18 01:26:48 +0000 |
commit | 6076fab585340953c4345447146ecb2c7ddd2710 (patch) | |
tree | a071fa67fcebc007428924a338d44a8ac9c3f047 /src/classes | |
parent | 51439b65c6ec527345cbe8c08bb539a5b9a17c9b (diff) |
Applied patch from Rick Brownrigg from NASA to fix GLU tessellator
error reporting
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1759 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes')
-rwxr-xr-x[-rw-r--r--] | src/classes/com/sun/opengl/impl/glu/Glue.java (renamed from src/classes/com/sun/opengl/impl/glu/gl2/glue/Glue.java) | 2 | ||||
-rw-r--r-- | src/classes/com/sun/opengl/impl/glu/error/Error.java | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/classes/com/sun/opengl/impl/glu/gl2/glue/Glue.java b/src/classes/com/sun/opengl/impl/glu/Glue.java index 0037fd2f3..ada5ab684 100644..100755 --- a/src/classes/com/sun/opengl/impl/glu/gl2/glue/Glue.java +++ b/src/classes/com/sun/opengl/impl/glu/Glue.java @@ -42,7 +42,7 @@ * compliant with the OpenGL(R) version 1.2.1 Specification. */ -package com.sun.opengl.impl.glu.gl2.glue; +package com.sun.opengl.impl.glu; /** * diff --git a/src/classes/com/sun/opengl/impl/glu/error/Error.java b/src/classes/com/sun/opengl/impl/glu/error/Error.java index fd6a4e50e..d24a41f10 100644 --- a/src/classes/com/sun/opengl/impl/glu/error/Error.java +++ b/src/classes/com/sun/opengl/impl/glu/error/Error.java @@ -46,6 +46,7 @@ package com.sun.opengl.impl.glu.error; import javax.media.opengl.GL; import javax.media.opengl.glu.GLU; +import com.sun.opengl.impl.glu.Glue; /** * @@ -92,7 +93,7 @@ public class Error { // return( gluErrorStrings[ errorCode - (GLU.GLU_NURBS_ERROR1 - 1) ] ); // } if( (errorCode >= GLU.GLU_TESS_ERROR1) && (errorCode <= GLU.GLU_TESS_ERROR8) ) { - return( gluErrorStrings[ errorCode - (GLU.GLU_TESS_ERROR1 - 1) ] ); + return( Glue.__gluTessErrorString(errorCode - (GLU.GLU_TESS_ERROR1 - 1)) ); } return( "error ("+errorCode+")" ); } |