aboutsummaryrefslogtreecommitdiffstats
path: root/make/gl-impl-CustomJavaCode-gles1.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-07-18 12:24:17 +0000
committerSven Gothel <[email protected]>2008-07-18 12:24:17 +0000
commite1c716511d4c36b3a6ae82eceeb74147a3001dfe (patch)
tree4357912fc5ee44428476ada1d16d5f265363a1b2 /make/gl-impl-CustomJavaCode-gles1.java
parentdb5aca42f5678f4f44750e8297464ca7bbbbc944 (diff)
- Using new config feature: 'IgnoreExtendedInterfaceSymbols <java class source file>'
and get rid of manual 'Ignore' configs for common stuff in the base interfaces. - Add: GLUnsupportedException: - Using new config feature 'UnsupportedExceptionType GLUnsupportedException' - GLUnsupportedException is used for anything 'UnsupportedOperationException' - GLU: - GLU itself is no more abstract - GLU contains the tesselator implementation - name, return type, modifiers and arguments - createGLU(..) - operated by profile name now. - GLU itself will be used for GLES2 - Cleanup: - gluegen/GL configs .. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1725 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/gl-impl-CustomJavaCode-gles1.java')
-rwxr-xr-xmake/gl-impl-CustomJavaCode-gles1.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/gl-impl-CustomJavaCode-gles1.java b/make/gl-impl-CustomJavaCode-gles1.java
index 7ec61c634..b29393e17 100755
--- a/make/gl-impl-CustomJavaCode-gles1.java
+++ b/make/gl-impl-CustomJavaCode-gles1.java
@@ -121,7 +121,7 @@ private void checkBufferObject(boolean avail,
if (!avail) {
if (!enabled)
return;
- throw new GLException("Required extensions not available to call this function");
+ throw new GLUnsupportedException("Required extensions not available to call this function");
}
int buffer = bufferStateTracker.getBoundBufferObject(state, this);
if (enabled) {
@@ -230,7 +230,7 @@ private Map/*<ARBVBOKey, ByteBuffer>*/ arbVBOCache = new HashMap();
public java.nio.ByteBuffer glMapBuffer(int target, int access) {
final long __addr_ = ((GLES1ProcAddressTable)_context.getGLProcAddressTable())._addressof_glMapBuffer;
if (__addr_ == 0) {
- throw new GLException("Method \"glMapBuffer\" not available");
+ throw new GLUnsupportedException("Method \"glMapBuffer\" not available");
}
int sz = bufferSizeTracker.getBufferSize(bufferStateTracker,
target,