From 0d59bd4c655ef9a27f127000848aae7f07f240ae Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 6 Mar 2015 09:45:48 +0100 Subject: Bug 1135 - Change all GlueGen config files, supporting EGL 1.5 , ES 3.1 and GL 4.5 --- make/config/jogl/gl-impl-CustomJavaCode-gles1.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gles1.java') diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java index 636f20d60..ecc30e11b 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java @@ -12,6 +12,12 @@ public GLES1Impl(GLProfile glp, GLContextImpl context) { public final void finalizeInit() { } +private int[] imageSizeTemp = new int[1]; + +private final int imageSizeInBytes(int format, int type, int width, int height, int depth, boolean pack) { + return GLBuffers.sizeof(this, imageSizeTemp, format, type, width, height, depth, pack) ; +} + @Override public final boolean isGL4bc() { return false; @@ -107,6 +113,11 @@ public final boolean isGLES3Compatible() { return false; } +@Override +public final boolean isGLES31Compatible() { + return false; +} + @Override public final boolean isGL2GL3() { return false; -- cgit v1.2.3