diff options
Diffstat (limited to 'src/classes/com/sun/opengl/impl')
-rw-r--r-- | src/classes/com/sun/opengl/impl/error/Error.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/classes/com/sun/opengl/impl/error/Error.java b/src/classes/com/sun/opengl/impl/error/Error.java index 93afb3d8b..43153217c 100644 --- a/src/classes/com/sun/opengl/impl/error/Error.java +++ b/src/classes/com/sun/opengl/impl/error/Error.java @@ -59,7 +59,8 @@ public class Error { "invalid operation", "stack overflow", "stack underflow", - "out of memory" + "out of memory", + "invalid framebuffer operation" }; private static String[] gluErrorStrings = { @@ -78,7 +79,7 @@ public class Error { if( errorCode == 0 ) { return( "no error" ); } - if( (errorCode >= GL.GL_INVALID_ENUM) && (errorCode <= GL.GL_OUT_OF_MEMORY) ) { + if( (errorCode >= GL.GL_INVALID_ENUM) && (errorCode <= GL.GL_INVALID_FRAMEBUFFER_OPERATION_EXT) ) { return( glErrorStrings[ errorCode - GL.GL_INVALID_ENUM ] ); } if( errorCode == GL.GL_TABLE_TOO_LARGE ) { |