diff options
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gles1.java')
-rwxr-xr-x | make/config/jogl/gl-impl-CustomJavaCode-gles1.java | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java index 4e46f076b..dfef10ec9 100755 --- a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java @@ -10,6 +10,10 @@ public final boolean isGL() { return true; } +public final boolean isGL3bc() { + return false; +} + public final boolean isGL3() { return false; } @@ -50,6 +54,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 { throw new GLException("Not a GL3 implementation"); } @@ -121,7 +129,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; @@ -166,7 +174,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; |