aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/GLCallbackHelperJNI.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2001-06-18 23:20:46 +0000
committerSven Gothel <[email protected]>2001-06-18 23:20:46 +0000
commitcc7376ee5616743cdd7b7a5c711f054b32ae8e4e (patch)
tree1550b5fd8630667151fe30e74811abb6a45792ea /CNativeCode/GLCallbackHelperJNI.c
parent8512ae5ab8a75fad8a75aec0b6e04e3fcd1d2c6f (diff)
2.8.0.0 pre-release cvs only
Diffstat (limited to 'CNativeCode/GLCallbackHelperJNI.c')
-rw-r--r--CNativeCode/GLCallbackHelperJNI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CNativeCode/GLCallbackHelperJNI.c b/CNativeCode/GLCallbackHelperJNI.c
index ec40372..28f6c68 100644
--- a/CNativeCode/GLCallbackHelperJNI.c
+++ b/CNativeCode/GLCallbackHelperJNI.c
@@ -232,7 +232,7 @@ jlong LIBAPIENTRY GetCurrentGLContext()
#ifdef _MAC_OS9_
return (jlong) aglGetCurrentContext();
#else
- return (jlong) disp__glXGetCurrentContext();
+ return (jlong) ((PointerHolder)disp__glXGetCurrentContext());
#endif
#endif
}