summaryrefslogtreecommitdiffstats
path: root/make/config/jogl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-01-27 10:47:29 +0100
committerSven Gothel <[email protected]>2015-01-27 10:47:29 +0100
commitdc15a430ee28f226e047ddebabf902d4c10b067a (patch)
tree05c23cf5fa560b2970ccbe8f156673d5429beb63 /make/config/jogl
parent6516a52d3da5cced924db63b64af911d55355325 (diff)
Bug 1110 - Fix missing native function eglGetConfigAttributes on jogl_mobile.dll
Fix regression of commit cf1163fc88976e7087d3a17524a49139e35a4708, i.e. missing function calling convention and return type qualifier for 'Java_com_jogamp_opengl_egl_EGL_dispatch_1eglGetConfigAttributes': JNIEXPORT void JNICALL This lead to its exclusion in the resulting Windows dll.
Diffstat (limited to 'make/config/jogl')
-rw-r--r--make/config/jogl/egl-CustomCCode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/config/jogl/egl-CustomCCode.c b/make/config/jogl/egl-CustomCCode.c
index 5dd34232c..974bcf9ae 100644
--- a/make/config/jogl/egl-CustomCCode.c
+++ b/make/config/jogl/egl-CustomCCode.c
@@ -7,6 +7,7 @@
* Java package: com.jogamp.opengl.egl.EGL
* Java method: void eglGetConfigAttributes(long dpy, long config, IntBuffer attributes, IntBuffer values)
*/
+JNIEXPORT void JNICALL
Java_com_jogamp_opengl_egl_EGL_dispatch_1eglGetConfigAttributes(JNIEnv *env, jclass _unused, jlong dpy, jlong config, jint attributeCount, jobject attributes, jint attributes_byte_offset, jobject values, jint values_byte_offset, jlong procAddress) {
typedef EGLBoolean (EGLAPIENTRY*_local_PFNEGLGETCONFIGATTRIBPROC)(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint * value);
_local_PFNEGLGETCONFIGATTRIBPROC ptr_eglGetConfigAttrib = (_local_PFNEGLGETCONFIGATTRIBPROC) (intptr_t) procAddress;