aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/d3d/GraphicsContext3D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/d3d/GraphicsContext3D.cpp')
-rw-r--r--src/native/d3d/GraphicsContext3D.cpp18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/native/d3d/GraphicsContext3D.cpp b/src/native/d3d/GraphicsContext3D.cpp
index 427cd33..22ead53 100644
--- a/src/native/d3d/GraphicsContext3D.cpp
+++ b/src/native/d3d/GraphicsContext3D.cpp
@@ -13,7 +13,21 @@
#include "StdAfx.h"
extern "C" JNIEXPORT
-void JNICALL Java_javax_media_j3d_GraphicsContext3D_readRasterNative(
+void JNICALL Java_javax_media_j3d_NativePipeline_readRaster(
+ JNIEnv *env, jobject obj, jlong ctx,
+ jint type, jint xOffset, jint yOffset,
+ jint wRaster, jint hRaster, jint hCanvas,
+ jint imageDataType,
+ jint imageFormat, jobject imageBuffer,
+ jint depthFormat, jobject depthBuffer)
+{
+ printf("[Java3D] D3D : readRaster is not implemented yet.\n");
+
+}
+
+#if 0
+extern "C" JNIEXPORT
+void JNICALL Java_javax_media_j3d_NativePipeline_readRasterNative(
JNIEnv *env, jobject obj, jlong ctx,
jint type, jint xOffset, jint yOffset,
jint wRaster, jint hRaster, jint hCanvas, jint format,
@@ -152,3 +166,5 @@ void JNICALL Java_javax_media_j3d_GraphicsContext3D_readRasterNative(
}
}
}
+
+#endif