From ccab634295f344e5b5812c62bf5ff5645922bb73 Mon Sep 17 00:00:00 2001 From: Kevin Rushforth Date: Tue, 5 Dec 2006 19:35:21 +0000 Subject: 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 --- src/native/d3d/D3dCtx.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/native') 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(); -- cgit v1.2.3