summaryrefslogtreecommitdiffstats
path: root/src/native/d3d
diff options
context:
space:
mode:
authorKevin Rushforth <[email protected]>2005-12-13 18:41:07 +0000
committerKevin Rushforth <[email protected]>2005-12-13 18:41:07 +0000
commitba17c852a03fce513cedcf94528dbd58cc812cbc (patch)
tree5b363eaeeb6dead40f15c3e0265c2a54c3bbdd81 /src/native/d3d
parent946937c96fddcdadb6e9d4daffc075ab343d5138 (diff)
Fix signature of D3D useCtx function so it will compile.
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@477 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/d3d')
-rw-r--r--src/native/d3d/Canvas3D.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/native/d3d/Canvas3D.cpp b/src/native/d3d/Canvas3D.cpp
index 3636e6d..6c49384 100644
--- a/src/native/d3d/Canvas3D.cpp
+++ b/src/native/d3d/Canvas3D.cpp
@@ -140,7 +140,7 @@ void JNICALL Java_javax_media_j3d_Canvas3D_createQueryContext(
}
extern "C" JNIEXPORT
-void JNICALL Java_javax_media_j3d_Canvas3D_useCtx(
+jboolean JNICALL Java_javax_media_j3d_Canvas3D_useCtx(
JNIEnv *env,
jclass cl,
jlong ctx,
@@ -148,6 +148,7 @@ void JNICALL Java_javax_media_j3d_Canvas3D_useCtx(
jint window)
{
// D3D doesn't have notation of current context
+ return JNI_TRUE;
}