diff options
author | Chien Yang <[email protected]> | 2004-10-01 01:04:36 +0000 |
---|---|---|
committer | Chien Yang <[email protected]> | 2004-10-01 01:04:36 +0000 |
commit | eced19d79a943c18f54dc7cbe693243e5953e792 (patch) | |
tree | 0d98627cc82661e26d4b94a1fce24c46f27261b9 /src/native/d3d | |
parent | 7a5f73109c44b123dd6e785163f2a2aa2d53730a (diff) |
With this fix Java 3D will require GLX 1.3 or higher to
compile or run.
1) Fixed issue 20 - Off-screen rendering doesn't work on Linux.
2) Cleanup native chooseOglVisual code.
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@50 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/d3d')
-rw-r--r-- | src/native/d3d/Canvas3D.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/native/d3d/Canvas3D.cpp b/src/native/d3d/Canvas3D.cpp index c262335..2e5eea2 100644 --- a/src/native/d3d/Canvas3D.cpp +++ b/src/native/d3d/Canvas3D.cpp @@ -46,13 +46,13 @@ jboolean JNICALL Java_javax_media_j3d_Canvas3D_useSharedCtx( extern "C" JNIEXPORT -jlong JNICALL Java_javax_media_j3d_Canvas3D_createContext( +jlong JNICALL Java_javax_media_j3d_Canvas3D_createNewContext( JNIEnv *env, jobject obj, jlong display, jint window, jint vid, - jlong visInfo, + jlong fbConfigListPtr, jlong sharedCtx, jboolean isSharedCtx, jboolean offScreen) @@ -106,6 +106,7 @@ void JNICALL Java_javax_media_j3d_Canvas3D_createQueryContext( jlong display, jint window, jint vid, + jlong fbConfigListPtr, jboolean offScreen, jint width, jint height) @@ -821,7 +822,8 @@ jint JNICALL Java_javax_media_j3d_Canvas3D_createOffScreenBuffer( jobject obj, jlong ctx, jlong display, - jint vid, + jint window, + jlong fbConfigListPtr, jint width, jint height) { @@ -864,6 +866,7 @@ void JNICALL Java_javax_media_j3d_Canvas3D_destroyOffScreenBuffer( jobject obj, jlong ctx, jlong display, + jlong fbConfigListPtr, jint window) { // do nothing, since the old buffer will destory |