aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-impl-CustomJavaCode-gl3.java
diff options
context:
space:
mode:
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gl3.java')
-rw-r--r--make/config/jogl/gl-impl-CustomJavaCode-gl3.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gl3.java b/make/config/jogl/gl-impl-CustomJavaCode-gl3.java
index b69188c73..16ff008cf 100644
--- a/make/config/jogl/gl-impl-CustomJavaCode-gl3.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-gl3.java
@@ -27,6 +27,10 @@ public final boolean isGL() {
return true;
}
+public final boolean isGL3bc() {
+ return false;
+}
+
public final boolean isGL3() {
return true;
}
@@ -67,6 +71,10 @@ public final GL getGL() throws GLException {
return this;
}
+public final GL3bc getGL3bc() throws GLException {
+ throw new GLException("Not a GL3bc implementation");
+}
+
public final GL3 getGL3() throws GLException {
return this;
}
@@ -146,7 +154,7 @@ public Object getPlatformGLExtensions() {
based on code in the SGI OpenGL sample implementation. */
private int imageSizeInBytes(int format, int type, int w, int h, int d,
- int dimensions, boolean pack) {
+ boolean pack) {
int elements = 0;
int esize = 0;
@@ -221,7 +229,7 @@ private int imageSizeInBytes(int format, int type, int w, int h, int d,
default:
return 0;
}
- return imageSizeInBytes(elements * esize, w, h, d, dimensions, pack);
+ return imageSizeInBytes(elements * esize, w, h, d, pack);
}
private GLBufferSizeTracker bufferSizeTracker;