aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}