From ba17c852a03fce513cedcf94528dbd58cc812cbc Mon Sep 17 00:00:00 2001
From: Kevin Rushforth <kcr@dev.java.net>
Date: Tue, 13 Dec 2005 18:41:07 +0000
Subject: 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
---
 src/native/d3d/Canvas3D.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src')

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;
 }
 
 
-- 
cgit v1.2.3