diff options
author | Kevin Rushforth <[email protected]> | 2006-12-05 19:35:21 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2006-12-05 19:35:21 +0000 |
commit | ccab634295f344e5b5812c62bf5ff5645922bb73 (patch) | |
tree | c6eedab10da17c0128e6713c2df7244dac7db9d0 /src/native | |
parent | e854cc3ab06c86944a631a6b1e0c7ac454682726 (diff) |
Fixed the following issues:
400: Lighting differs with various renderers
403: AssertionError while changing (offscreen) Texture size
Partially fixed the following issue (JOGL pipeline is fixed):
399: Off-screen Canvas3D / JOGL | D3D: j3d.transparentOffScreen ignored
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@754 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native')
-rw-r--r-- | src/native/d3d/D3dCtx.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/native/d3d/D3dCtx.cpp b/src/native/d3d/D3dCtx.cpp index dccfd8f..ec01327 100644 --- a/src/native/d3d/D3dCtx.cpp +++ b/src/native/d3d/D3dCtx.cpp @@ -623,6 +623,9 @@ else setViewport(); setDefaultAttributes(); + + // Issue 400: initialize local viewer (for lighting) to false + pDevice->SetRenderState(D3DRS_LOCALVIEWER, FALSE); createVertexBuffer(); |