diff options
author | Sven Gothel <[email protected]> | 2015-01-27 10:47:29 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-01-27 10:47:29 +0100 |
commit | dc15a430ee28f226e047ddebabf902d4c10b067a (patch) | |
tree | 05c23cf5fa560b2970ccbe8f156673d5429beb63 /make/config/jogl/egl-CustomCCode.c | |
parent | 6516a52d3da5cced924db63b64af911d55355325 (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/egl-CustomCCode.c')
-rw-r--r-- | make/config/jogl/egl-CustomCCode.c | 1 |
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; |