diff options
-rw-r--r-- | src/native/d3d/Attributes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/native/d3d/Attributes.cpp b/src/native/d3d/Attributes.cpp index 0a65f42..2dc0df9 100644 --- a/src/native/d3d/Attributes.cpp +++ b/src/native/d3d/Attributes.cpp @@ -588,6 +588,7 @@ void JNICALL Java_javax_media_j3d_NativePipeline_updateRenderingAttributes( { d3dCtx->zEnable = TRUE; device->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE); + device->SetRenderState(D3DRS_ZFUNC, getDepthFunc(db_func)); } else { |