diff options
Diffstat (limited to 'src/native/d3d/NativeAPIInfo.c')
-rw-r--r-- | src/native/d3d/NativeAPIInfo.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/native/d3d/NativeAPIInfo.c b/src/native/d3d/NativeAPIInfo.c new file mode 100644 index 0000000..3bc622c --- /dev/null +++ b/src/native/d3d/NativeAPIInfo.c @@ -0,0 +1,23 @@ +/* + * $RCSfile$ + * + * Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved. + * + * Use is subject to license terms. + * + * $Revision$ + * $Date$ + * $State$ + */ + +#include <jni.h> + +#include "javax_media_j3d_MasterControl.h" + + +JNIEXPORT +jint JNICALL Java_javax_media_j3d_NativeAPIInfo_getRenderingAPI( + JNIEnv *env, jobject obj) +{ + return (jint)javax_media_j3d_MasterControl_RENDER_DIRECT3D; +} |